Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-4
-
None
-
Linux
Description
Class names like HTMLEditorKit.ParserCallback and HTML.Tag don't work. For example this script gives an error.
#!/usr/bin/env groovy
test1 = new javax.swing.text.html.HTMLEditorKit.ParserCallback()
test2 = new javax.swing.text.html.HTML.Tag()
Caught: groovy.lang.MissingClassException: No such class: javax.swing.text.html.HTMLEditorKit.ParserCallback in constructor call. At [2:8] MyParser.groovy
groovy.lang.MissingClassException: No such class: javax.swing.text.html.HTMLEditorKit.ParserCallback in constructor call. At [2:8]...
Just to test that the class paths are right this script does not give an error.
#!/usr/bin/env groovy
test = new javax.swing.text.html.HTML