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

        Mark Thomas made changes -
        Workflow jira [ 12969097 ] Default workflow, editable Closed status [ 12976833 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12730773 ] Default workflow, editable Closed status [ 12742736 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Jochen Theodorou made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 1.6-rc-1 [ 14009 ]
        Fix Version/s 1.5.8 [ 14630 ]
        Fix Version/s 1.7 [ 14014 ]
        Assignee Jochen Theodorou [ blackdrag ]
        Status Open [ 1 ] Closed [ 6 ]
        Guillaume Delcroix made changes -
        Field Original Value New Value
        Assignee Guillaume Laforge [ guillaume ]
        Richard Musiol created 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