[
http://jira.jboss.com/jira/browse/JBREM-659?page=comments#action_12350704 ]
Tom Elrod commented on JBREM-659:
----------------------------------
Forgot to mention, although was able to manually test some of the remoting tests within
the testsuite using jdk 1.6, could not run the automated testsuite run with jdk 1.6. The
reason for this is that distributed test framework used (JBoss JRunit) uses JGroups for
its communication transport, which itself uses ClassLoader.loadClass() and therefore
can't run under jdk 1.6 (see
http://javagroups.cvs.sourceforge.net/javagroups/JGroups/src/org/jgroups/...).
Therefore, although 1.4.6.GA, 2.2.0.Beta1 and any 3.x releases *should* work with jdk 1.6,
I can't say they will with certainty since can't run the full testsuite.
Java 6 and ClassLoader.loadClass()
----------------------------------
Key: JBREM-659
URL:
http://jira.jboss.com/jira/browse/JBREM-659
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.2.0.Alpha4
Environment: Java 1.6.0-b105
Reporter: Jan Bares
Assigned To: Tom Elrod
Fix For: 1.4.6.GA, 3.0.0.Alpha1 (Otter), 2.2.0.Beta1 (Bluto)
The ClassLoader.loadClass() should be used only for plain classes, not for arrays etc. In
ObjectInputStreamWithClassLoader.resolveClass() call:
return Class.forName(v.getName(), false, cl);
The problem is described at:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6500212
http://forums.java.net/jive/thread.jspa?threadID=15823&tstart=0
The bug was found in JBoss AS 4.0.5.GA.
--
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