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

Please use parser.getASTFactory().setASTNodeClass(GroovySourceAST.class)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
    • Component/s: None
    • Labels:
      None

      Description

      Please use
      parser.getASTFactory().setASTNodeClass(GroovySourceAST.class);
      instead of
      parser.setASTNodeClass("org.codehaus.groovy.antlr.GroovySourceAST");
      in the JavaRecognizer and GroovyRecognizer because else it breakes the classloader in some cases.

      Thanks
      Richard Musiol

      PS: The help icon right to this description box in "Create Issue" doesn't work.

        Attachments

          Activity

            People

            • Assignee:
              blackdrag Jochen Theodorou
              Reporter:
              neelance Richard Musiol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: