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
-
Number of attachments :
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.
Could you provide a testcase showing why it won't work? thanks.