PatchSet 3966 Date: 2003/08/20 14:32:05 Author: dalibor Branch: HEAD Tag: (none) Log: removed Transvirtual's cruft from kaffe/net/DefaultURLStreamHandlerFactory.java
Members: ChangeLog:1.1564->1.1565 libraries/javalib/kaffe/net/DefaultURLStreamHandlerFactory.java:1.5->1.6 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.1564 kaffe/ChangeLog:1.1565 --- kaffe/ChangeLog:1.1564 Wed Aug 20 13:08:37 2003 +++ kaffe/ChangeLog Wed Aug 20 14:32:05 2003 @@ -1,3 +1,9 @@ +2003-08-20 Dalibor Topic <[EMAIL PROTECTED]> + + * libraries/javalib/kaffe/net/DefaultURLStreamHandlerFactory.java: + (tvtName) removed. + (createURLStreamHandler) don't try to load Transvirtual's classes. + 2003-08-20 Guilhem Lavaux <[EMAIL PROTECTED]> * libraries/javalib/gnu/java/rmi/server/UnicastConnectionManager.java: Index: kaffe/libraries/javalib/kaffe/net/DefaultURLStreamHandlerFactory.java diff -u kaffe/libraries/javalib/kaffe/net/DefaultURLStreamHandlerFactory.java:1.5 kaffe/libraries/javalib/kaffe/net/DefaultURLStreamHandlerFactory.java:1.6 --- kaffe/libraries/javalib/kaffe/net/DefaultURLStreamHandlerFactory.java:1.5 Thu Nov 22 06:21:23 2001 +++ kaffe/libraries/javalib/kaffe/net/DefaultURLStreamHandlerFactory.java Wed Aug 20 14:32:06 2003 @@ -18,7 +18,6 @@ public class DefaultURLStreamHandlerFactory implements URLStreamHandlerFactory { final private static String defaultName = "kaffe.net.www.protocol."; -final private static String tvtName = "com.transvirtual.net.www.protocol."; private Hashtable cache = new Hashtable(); @@ -44,16 +43,8 @@ } } - /* Try the TVT default name */ - String classPath = tvtName + protocol + ".Handler"; - handler = tryClass(classPath); - if (handler != null) { - cache.put(protocol, handler); - return (handler); - } - /* Try the default name */ - classPath = defaultName + protocol + ".Handler"; + String classPath = defaultName + protocol + ".Handler"; handler = tryClass(classPath); if (handler != null) { cache.put(protocol, handler); _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe