groovy

VerifyError on a method override

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker 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 :
    1

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

Activity

Hide
blackdrag blackdrag added a comment -

it seems the super call return value was unboxed but not boxed before whcihc caused the problem. Fixed now

Show
blackdrag blackdrag added a comment - it seems the super call return value was unboxed but not boxed before whcihc caused the problem. Fixed now

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: