User: user57
Date: 02/04/04 14:21:49
Modified: src/main/org/jboss/system/server ServerImpl.java
Log:
o preloading URL handler map in case the factory changes
Revision Changes Path
1.14 +4 -1 jboss-system/src/main/org/jboss/system/server/ServerImpl.java
Index: ServerImpl.java
===================================================================
RCS file:
/cvsroot/jboss/jboss-system/src/main/org/jboss/system/server/ServerImpl.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ServerImpl.java 4 Apr 2002 04:33:59 -0000 1.13
+++ ServerImpl.java 4 Apr 2002 22:21:48 -0000 1.14
@@ -47,7 +47,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
*/
public class ServerImpl
implements Server, ServerImplMBean
@@ -128,6 +128,9 @@
// Setup JBoss URL handlers
URL.setURLStreamHandlerFactory(new
org.jboss.net.protocol.URLStreamHandlerFactory());
+
+ // Preload JBoss URL handlers into URL's handler map
+ org.jboss.net.protocol.URLStreamHandlerFactory.preload();
// this does not work at the moment due to java.net.URL not using TCL
/*
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development