Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.0-RC-1
-
None
-
None
-
Win XP
JDK1.5.0_06; Groovy RC-1
Description
Caught: java.lang.ClassCastException: gjdk.console.Console_GroovyReflector
The Console class (see attached) has worked satisfactorily for 12+ months.
Its usage with RC-1 raises the ClassCastException.
The Console class has been compiled with RC-1 into the utils.jar file (attached).
The script example10.groovy (attached) imports from this jar which is on my classpath.
When the Console class is placed alongside the script in the same folder all is ok.
If the Console class is pasted into the script itself, then again, all is ok.
The problem appears to be when I import from the jar.