groovy

VerifyError instead of compilation error

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.5.1
  • Fix Version/s: 1.5.2, 1.6-rc-2
  • Component/s: bytecode
  • Labels:
    None
  • Environment:
    WindowsXP sp2, java 6
  • Number of attachments :
    0

Description

The following script gives a VerifyError instead of a compilation error (that is, I assume that this should not compile):

( def var = 1 ).method()

Gives:

Caught: java.lang.VerifyError: (class: Test8, method: run signature: ()Ljava/lang/Object;) Unable to pop operand off an empty stack

Activity

Hide
blackdrag blackdrag added a comment -

fixed

Show
blackdrag blackdrag added a comment - fixed

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: