This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: fix for PR 11349
- From: Tom Tromey <tromey at redhat dot com>
- To: GCC libjava patches <java-patches at gcc dot gnu dot org>
- Date: 30 Jun 2003 13:04:51 -0600
- Subject: Patch: FYI: fix for PR 11349
- Reply-to: tromey at redhat dot com
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 ())