java.lang.ClassFormatError: Illegal classname -
org/jboss/jsr299/tck/tests/extensions/alternative...
----------------------------------------------------------------------------------------------------
Key: WELD-897
URL:
https://issues.jboss.org/browse/WELD-897
Project: Weld
Issue Type: Bug
Environment: All platforms - but noticed on Solaris x86
Reporter: Kyle Grucci
The CDI TCK passes all tests when run using Glassfish 3.x with Oracle's JDK
1.6.0_24. However, when we change to use Oracle's JDK 1.6.0_25 patch, deployment of
some of
the test war files to the autodeploy directory of Glassfish results in the errors below.
Talking with Pete Muir, it appears that the JDK has tightened something and is now
exposing a bug in Weld.
[#|2011-05-03T13:02:50.870-0400|SEVERE|glassfish3.2|javax.enterprise.system.to
ols.admin.org.glassfish.deployment.admin|_ThreadID=17;_ThreadName=Thread-1;|Ex
ception
while loading the app : by java.lang.ClassFormatError: Illegal class
name
"org/jboss/jsr299/tck/tests/extensions/alternative/metadata/org$jboss$weld$bea
n-org$jboss$jsr299$tck$tests$extensions$alternative$metadata$AlternativeMetada
taTest-ManagedBean-org$jboss$jsr299$tck$tests$extensions$alternative$metadata$
Grocery[@javax$enterprise$context$RequestScoped()@org$jboss$jsr299$tck$tests$e
xtensions$alternative$metadata$Cheap()@org$jboss$jsr299$tck$tests$extensions$a
lternative$metadata$GroceryInterceptorBinding()@org$jboss$jsr299$tck$tests$ext
ensions$alternative$metadata$NamedStereotype()]{org$jboss$jsr299$tck$tests$ext
ensions$alternative$metadata$Grocery$bread[@javax$enterprise$inject$Produces()
]$org$jboss$jsr299$tck$tests$extensions$alternative$metadata$Grocery$fruit[@ja
vax$inject$Inject()@org$jboss$jsr299$tck$tests$extensions$alternative$metadata
$Cheap()]$org$jboss$jsr299$tck$tests$extensions$alternative$meta
data$Grocery$vegetables[@javax$inject$Inject()]$org$jboss$jsr299$tck$tests$ext
ensions$alternative$metadata$Grocery$getMilk[@javax$enterprise$inject$Produces
()](
org.jboss.weld.exceptions.WeldException: by java.lang.ClassFormatError:
Illegal class name
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira