groovy-eclipse-compiler 2.9.0-01 and groovy-eclipse-batch 2.3.4-01 java.lang.InternalError: Malformed class name

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

groovy-eclipse-compiler 2.9.0-01 and groovy-eclipse-batch 2.3.4-01 java.lang.InternalError: Malformed class name

Paul Sideleau
Using groovy-eclipse-compiler 2.9.0-01 and groovy-eclipse-batch 2.3.4-01 causes a java.lang.InternalError: Malformed class name when calling 
Class.isAnonymousClass. See [WELD-1081] Weld crashes when attempting to read malformed class names - JBoss Issue Tracker and [GROOVY-5351] Malformed class names for closures in inner classes - jira.codehaus.org

We were using groovy-eclipse-compiler 2.8.0-01 and groovy-eclipse-batch 2.1.8-01 and did not experience the issue. JBOSS weld has resolved this on their end in a new version but I was just curious if this may also be a groovy-eclipse-compiler bug?

Full stacktrace is below.


Caused by: java.lang.InternalError: Malformed class name at java.lang.Class.getSimpleName(Class.java:1133) [:1.6.0_29] at java.lang.Class.isAnonymousClass(Class.java:1188) [:1.6.0_29] at org.jboss.weld.introspector.jlr.WeldClassImpl.isAnonymousClass(WeldClassImpl.java:386) at org.jboss.weld.bootstrap.AbstractBeanDeployer.isTypeManagedBeanOrDecoratorOrInterceptor(AbstractBeanDeployer.java:260) at org.jboss.weld.bootstrap.BeanDeployer.createBeans(BeanDeployer.java:131) at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:191) at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:336) at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81) at org.jboss.as.weld.services.WeldService.start(WeldService.java:89) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765) ... 4 more
 
 
 
 
 
 
[WELD-1081] Weld crashes when attempting to read malformed class names - JBoss Issue Tracker
Caused by: java.lang.InternalError: Malformed class name at java.lang.Class.getSimpleName(Class.java:1133) [:1.6.0_29] at java.lang.Class.isAnonymousClass(Class.java:1188) [:1.6.0_29] at org.jboss.weld.introspector.jlr.WeldClassImpl.isAnonymousClass(WeldClassImpl.java:386) ...
Preview by Yahoo
 

 
 
 
 
 
 
[GROOVY-5351] Malformed class names for closures in inner classes - jira.codehaus.org
The class names generated for closures in inner classes break Class.getSimpleName() For example, the closure passed to .each in this example has name Example$_Inner_closure1.class:
Preview by Yahoo