diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-06 23:22:05 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-06 23:22:05 +0000 |
commit | 812c41c570f8afd721f63092ba13b61e0d76e68a (patch) | |
tree | 9a0fa8e97e9f83cfdb351e4722e437af907915d6 /libjava/java/net | |
parent | f1bd29ac39dba48238f11f9256bc46fd4a822b8e (diff) | |
download | gcc-812c41c570f8afd721f63092ba13b61e0d76e68a.tar.gz |
* java/net/URLClassLoader.java (URLClassLoader): Now
package-private.
* java/nio/charset/CoderResult.java (CoderResult): Now
package-private.
(get): Likewise.
(Cache): Likewise. Don't synchronize on `this'.
* java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
package-private.
* java/util/TimeZone.java (timezones): Now package-private.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net')
-rw-r--r-- | libjava/java/net/URLClassLoader.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/java/net/URLClassLoader.java b/libjava/java/net/URLClassLoader.java index b991be8addf..c3238e5ccaf 100644 --- a/libjava/java/net/URLClassLoader.java +++ b/libjava/java/net/URLClassLoader.java @@ -1,5 +1,5 @@ /* URLClassLoader.java -- ClassLoader that loads classes from one or more URLs - Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -661,8 +661,9 @@ public class URLClassLoader extends SecureClassLoader addURLs(urls); } + // Package-private to avoid a trampoline constructor. /** - * Private constructor used by the static + * Package-private constructor used by the static * <code>newInstance(URL[])</code> method. Creates an * <code>URLClassLoader</code> with the given parent but without any * <code>URL</code>s yet. This is used to bypass the normal security @@ -674,8 +675,7 @@ public class URLClassLoader extends SecureClassLoader * * @param securityContext the security context of the unprivileged code. */ - private URLClassLoader(ClassLoader parent, - AccessControlContext securityContext) + URLClassLoader(ClassLoader parent, AccessControlContext securityContext) { super(parent); this.factory = null; |