[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-992) Make JBoss Cache build and run under JDK6
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Mon Mar 5 07:22:14 EST 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-992?page=comments#action_12354963 ]
Galder Zamarreno commented on JBCACHE-992:
------------------------------------------
This shouldn't affect the output of this JIRA, but if we prove that JBC builds and runs on JDK 6, bear in mind this:
As far as AS is concerned, Java 6 is not currently supported, at least until the following issue has been resolved
or the code is changed (I think this might happen in AS 5.0):
Email to JBoss-Dev, Subject: Array class loading regression in jdk6
From: Scott M Stark <scott.stark at jboss.com>
To: JBoss.org development list <jboss-development at lists.jboss.org>
Reply-To: JBoss.org development list <jboss-development at lists.jboss.org>
Date: 17 Dec 2006 - 6:05am
An issue where ClassLoader.loadClass(String) is not resolving arrays is
showing up as users start to use jdk6:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149
Exception in thread "main" java.lang.ClassNotFoundException: [Ljava.lang.String;
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at test.main(test.java:7)
The workaround is to use the Class.forName(String, boolean, ClassLoader)
method.
> Make JBoss Cache build and run under JDK6
> -----------------------------------------
>
> Key: JBCACHE-992
> URL: http://jira.jboss.com/jira/browse/JBCACHE-992
> Project: JBoss Cache
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Manik Surtani
> Assigned To: Manik Surtani
> Fix For: 2.0.0.BETA2
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list