Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-669

groovyc creates class files that does not verify (java.lang.VerifyError)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0-beta-7
    • 1.0-beta-10
    • class generator
    • None
    • Java1.4.2, Windows XP

    Description

      I run
      groovy DoesNotVerify.groovy
      where the file DoesNotVerify.groovy has the following contents:


      public class DoesNotVerify {
      public void method(double a, double b) {}
      public static void main(String[] args)

      { println "Does not run with JVM 1.4"; }

      }


      The command:
      java DoesNotVerify
      gives the output:
      Exception in thread "main" java.lang.VerifyError: (class:
      DoesNotVerify, method: method signature: (
      DD)V) Register pair 2/3 contains wrong type

      Attachments

        Issue Links

          Activity

            People

              jstrachan James Strachan
              frans Francois Grandjean
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: