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

Incorrect error message for missing class

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0-JSR-2
    • None
    • None
    • Windows XP, java 1.4.2_07, CVS Head

    Description

      The follow code in file bug2.groovy:

      class bug2 {
      static void main(String[] args)

      { BlahBlah.Foo() }

      }

      Causes:

      > groovy bug2.groovy
      Caught: java.lang.IncompatibleClassChangeError
      at bug2.main(c:\Develop\Chess\Groovy\bug2.groovy)

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            blackdrag Jochen Theodorou
            mcspanky Martin C. Martin
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment