Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-4
-
Fix Version/s: 1.0-JSR-6
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
This is the exception that I get:
org.codehaus.groovy.classgen.RuntimeIncompleteClassException: Incomplete class: does not implement abstract methods: [void wh_writeObject(java.io.ObjectOutputStream), void wh_readObject(java.io.ObjectInputStream), java.lang.Object wh_writeReplace(), java.lang.Object wh_readResolve(), void emptyConstructor(), void wh_readObjectNoData(), void serialConstructor()]. Node: org.codehaus.groovy.ast.ClassNode@4f293f3[name: elementinfobuilder]. At [-1:-1]
at org.codehaus.groovy.classgen.ClassCompletionVerifier.visitClass(Lorg.codehaus.groovy.ast.ClassNode;)V(ClassCompletionVerifier.java:55)
at org.codehaus.groovy.control.CompilationUnit$5.call(Lorg.codehaus.groovy.control.SourceUnit;Lorg.codehaus.groovy.classgen.GeneratorContext;Lorg.codehaus.groovy.ast.ClassNode;)V(CompilationUnit.java:580)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(Lorg.codehaus.groovy.control.CompilationUnit$LoopBodyForPrimaryClassNodeOperations;)V(CompilationUnit.java:844)
at org.codehaus.groovy.control.CompilationUnit.classgen()V(CompilationUnit.java:540)
at org.codehaus.groovy.control.CompilationUnit.compile(I)V(CompilationUnit.java:446)
at groovy.lang.GroovyClassLoader.parseClass(Lgroovy.lang.GroovyCodeSource;)Ljava.lang.Class;(GroovyClassLoader.java:244)
at com.uwyn.rife.engine.Groovy2ElementInfo$GroovyProcessor.processGroovy(Ljava.lang.String;Lcom.uwyn.rife.resources.ResourceFinder;)V(Groovy2ElementInfo.java:133)
I am experiencing the same problem on Windows XP with the same version of jrockit. Groovy works fine with the Sun JRE.