[jboss-user] [Remoting] - Re: JBoss Remoting & JDK 6.0 situation deadlock
fcorneli
do-not-reply at jboss.com
Wed Jan 10 10:17:39 EST 2007
The patch of jboss-remoting is quite simple. See:
http://jira.jboss.com/jira/browse/JBREM-659
I really don't get why this is taking so long for JBoss to tackle this issue (I know, a support contract would probably help). If JBoss feels like this is a Java6 bug, they could just call it a "work-around". (while actually everybody knows by now it's a bug :) )
| Index: ./src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java
| ===================================================================
| RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java,v
| retrieving revision 1.2.4.1
| diff -u -r1.2.4.1 ObjectInputStreamWithClassLoader.java
| --- ./src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java 11 May 2006 20:39:42 -0000 1.2.4.1
| +++ ./src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java 10 Jan 2007 14:18:32 -0000
| @@ -136,7 +136,8 @@
| // EJBTHREE-440
| try
| {
| - return cl.loadClass(v.getName());
| + // JBREM-659
| + return Class.forName(v.getName(), false, cl);
| }
| catch(ClassNotFoundException ex)
| {
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999984#3999984
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999984
More information about the jboss-user
mailing list