This content has been marked as final.
Show 3 replies
-
1. Re: seam2.0beta : tests fail with jdk1.6
koenhandekyn Jul 6, 2007 2:57 AM (in response to koenhandekyn)the error starts like this, the key messag being that it doesn't find the native String class: Class not found: [Ljava.lang.String;
test: [testng] [Parser] Running: [testng] C:\workspace\upbox\test-build\ExampleActionTest.xml [testng] [testng] WARN 04-07 15:02:49,313 [org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoader() :675] Tried to add n on-URLClassLoader. Ignored [testng] ERROR 04-07 15:02:49,488 [org.jboss.dependency.plugins.AbstractController.incrementState ():456] Error instal ling to Instantiated: name=DeploymentFilter state=Described [testng] java.lang.IllegalStateException: Class not found: [Ljava.lang.String; [testng] at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174) [testng] at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125) [testng] at org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292) [testng] at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getCo mponentMetaDataRetri eval(AnnotatedElementMetaDataLoader.java:138) [testng] at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRe trieval(AbstractMeta DataContext.java:280)
-
2. Re: seam2.0beta : tests fail with jdk1.6
alexg79 Jul 7, 2007 12:47 PM (in response to koenhandekyn)This is a JBoss bug. Class loading was done in the wrong manner, relying on an unintended side effect of the class loading mechanism, and when the behavior changed in Java 6, it broke a lot of software. What you see there is a failed attempt at loading the class for String[], not String. JBoss AS 5.0 is supposed to be free of these issues once it's finished.
-
3. Re: seam2.0beta : tests fail with jdk1.6
ellenzhao Jul 8, 2007 6:46 PM (in response to koenhandekyn)http://www.jboss.com/index.html?module=bb&op=viewtopic&t=111930
You can download my patch, compile it (that class requires no other dependency than the jdk), swap out the same class in the jboss-embedded-all.jar.
Regards,
Ellen