[jboss-jira] [JBoss JIRA] Created: (JBAS-8514) java.lang.VerifyError: class com... overrides final method getCellRenderer.(II)Ljavax/swing/table/TableCellRenderer
Thomas Fromm (JIRA)
jira-events at lists.jboss.org
Tue Oct 12 03:30:40 EDT 2010
java.lang.VerifyError: class com... overrides final method getCellRenderer.(II)Ljavax/swing/table/TableCellRenderer
-------------------------------------------------------------------------------------------------------------------
Key: JBAS-8514
URL: https://jira.jboss.org/browse/JBAS-8514
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: ClassLoading
Affects Versions: 6.0.0.M5
Environment: JBoss 6 M5 + Sun JDK 6u16 (but also tried with u21)
Reporter: Thomas Fromm
Assignee: Scott Stark
During the startup of a webapp I get really lots of these errors:
09:02:08,652 WARN [ClassLoaderManager] Unexpected error during load of:com.foo.bar.MyTable: java.lang.VerifyError: class com.foo.bar.MyTable overrides final method getCellRenderer.(II)Ljavax/swing/table/TableCellRenderer;
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_16]
at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [:1.6.0_16]
at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:52) [jboss-classloader.jar:2.2.0.Alpha8]
...
The class MyTable extends from FoobarTable and FoobarTable extends from JTable... I'm little bit confused about the error message, because
I've got two getCellRenderer-methods. One of them overrides these one in JTable, the other one is private in both classes (MyTable and FoobarTable).
But no one of them is final.
Looks like:
public class FoobarTable extends JTable {
@Override
public TableCellRenderer getCellRenderer(int row, int column) { ... }
private TableCellRenderer getCellRenderer(Class x){ ... }
}
public class MyTable extends FoobarTable {
@Override
public TableCellRenderer getCellRenderer(int row, int column) { ... }
private TableCellRenderer getCellRenderer(Class x){ ... }
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list