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

IncompatibleClassChangeError on wrong variable name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-beta-5
    • 1.0-JSR-2
    • class generator
    • None

    Description

      class A {
      static main(args)

      { blah = [5,6] println(blahs.min()) }

      }

      gives

      Exception in thread "main" java.lang.IncompatibleClassChangeError
      at A.main(test1.groovy:3)
      at groovy.lang.GroovyShell.run(GroovyShell.java:173)
      at groovy.lang.GroovyShell.run(GroovyShell.java:142)
      at groovy.ui.GroovyMain.processOnce(GroovyMain.java:321)
      at groovy.ui.GroovyMain.run(GroovyMain.java:211)
      at groovy.ui.GroovyMain.process(GroovyMain.java:197)
      at groovy.ui.GroovyMain.main(GroovyMain.java:120)

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              yuri Yuri Schimke
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: