Patch: FYI: fix for PR 11349
Tom Tromey
tromey@redhat.com
Mon Jun 30 19:13:00 GMT 2003
I'm checking this in on the trunk and Classpath. I'll probably put it
into 3.3.1 as well.
This fixes PR 11349. It is the patch from the PR. It is a
correctness fix in NamingManager.
Tom
Index: ChangeLog
from Gary Benson <gbenson@redhat.com>
For PR libgcj/11349:
* javax/naming/spi/NamingManager.java (getURLContext): Use
correct name for factory class.
Index: javax/naming/spi/NamingManager.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/NamingManager.java,v
retrieving revision 1.4
diff -u -r1.4 NamingManager.java
--- javax/naming/spi/NamingManager.java 23 Nov 2002 21:50:41 -0000 1.4
+++ javax/naming/spi/NamingManager.java 30 Jun 2003 19:11:59 -0000
@@ -1,5 +1,5 @@
/* NamingManager.java --
- Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -117,7 +117,7 @@
prefixes = "com.sun.jndi.url";
}
- scheme += "URLContextFactory";
+ scheme = scheme + "." + scheme + "URLContextFactory";
StringTokenizer tokens = new StringTokenizer (prefixes, ":");
while (tokens.hasMoreTokens ())
More information about the Java-patches
mailing list