[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jmx/src/main/org/jboss/mx/loading LoadMgr.java
From: Scott M Stark <starksm () users ! sourceforge ! net>
Date: 2002-10-31 8:12:41
[Download RAW message or body]
User: starksm
Date: 02/10/31 00:12:41
Modified: src/main/org/jboss/mx/loading Tag: Branch_3_0 LoadMgr.java
Log:
When there are multiple class loaders for a given package order the
preference of which class loader based on the iteration order so that
there is a consistent choice of class loader during multi-threaded
loading. This should prevent ClassCastExceptions due to duplicate sources of
a class existing in the repository.
Revision Changes Path
No revision
No revision
1.1.2.5 +2 -1 jmx/src/main/org/jboss/mx/loading/Attic/LoadMgr.java
Index: LoadMgr.java
===================================================================
RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/loading/Attic/LoadMgr.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- LoadMgr.java 20 Oct 2002 17:08:39 -0000 1.1.2.4
+++ LoadMgr.java 31 Oct 2002 08:12:38 -0000 1.1.2.5
@@ -24,7 +24,7 @@
* class loading tasks.
*
* @author Scott.Stark@jboss.org
- * @version $Revision: 1.1.2.4 $
+ * @version $Revision: 1.1.2.5 $
*/
public class LoadMgr
{
@@ -161,6 +161,7 @@
}
scheduleTask(task, ucl, order, false, trace);
+ order ++;
}
if( trace )
log.trace("End beginLoadTask, task="+task);
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic