groovy
  1. groovy
  2. GROOVY-408

Pattern causing java.lang.VerifyError

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-beta-6
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      value = "test"
      pattern = ~value

      causes:

      Exception in thread "main" java.lang.VerifyError: (class: test10, method: run signature: ()Ljava/lang/Object Incompatible argument to function
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
      at java.lang.Class.getDeclaredConstructors(Class.java:1169)
      at groovy.lang.MetaClass.<init>(MetaClass.java:137)
      at groovy.lang.MetaClassRegistry.getMetaClass(MetaClassRegistry.java:100)
      at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:123)
      at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:106)

        Activity

          People

          • Assignee:
            Sam Pullara
            Reporter:
            Jamie McCrindle
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: