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

Incorrect error message when accessing non existing class in static member: IncompatibleClassChangeError

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      The follow code in file bug.groovy:

      class Foo
      {
      static bla = Fii.class
      }

      new Foo()

      Causes:

      Caught: java.lang.IncompatibleClassChangeError
      at Foo.<clinit>(bug.groovy)
      at bug.class$(bug.groovy)
      at bug.run(bug.groovy:6)
      at bug.main(bug.groovy)

      (There's no class Fii anywhere on my path.)

      Seems to be a variation of GROOVY-801

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mguillemot@yahoo.fr Marc Guillemot
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: