Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-5
-
Fix Version/s: 1.0-JSR-6
-
Component/s: class generator
-
Labels:None
-
Environment:Windows XP, JDK 1.5
-
Testcase included:yes
-
Number of attachments :
Description
Running the following code produces a VerifyError:
class MyEditorPane extends javax.swing.JEditorPane {
boolean getScrollableTracksViewportWidth() {
return super.getScrollableTracksViewportWidth()
}
}
java.lang.VerifyError: (class: MyEditorPane, method: getScrollableTracksViewportWidth signature: ()Z) Expecting to find object/array on stack
it seems the super call return value was unboxed but not boxed before whcihc caused the problem. Fixed now