Groovy
  1. Groovy
  2. GROOVY-1643

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development