]> gcc.gnu.org Git - gcc.git/commitdiff
VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly.
authorTom Tromey <tromey@redhat.com>
Tue, 3 May 2005 22:15:01 +0000 (22:15 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 3 May 2005 22:15:01 +0000 (22:15 +0000)
* java/lang/VMSecurityManager.java (currentClassLoader): Use
'systemClasssLoader' directly.

From-SVN: r99185

libjava/ChangeLog
libjava/java/lang/VMSecurityManager.java

index abd13b6ef6aa4f229c74587878a8bfb5b926f694..dc025440acc13a17ad64ffa1878b1e445e1c350a 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-03  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/VMSecurityManager.java (currentClassLoader): Use
+       'systemClasssLoader' directly.
+
 2005-05-03  Tom Tromey  <tromey@redhat.com>
 
        * java/lang/VMSecurityManager.java (currentClassLoader): Don't
index 03e286b2176dd5674b273dd4022d9aa0e1b57f04..77a74623814480304f574f9e69b245d3ee4ed84a 100644 (file)
@@ -54,7 +54,7 @@ class VMSecurityManager
     // The docs above are wrong.  See the online docs.
     // FIXME this implementation is a bit wrong too -- the docs say we
     // must also consider ancestors of the system class loader.
-    ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
+    ClassLoader systemClassLoader = ClassLoader.systemClassLoader;
     Class[] classStack = getClassContext (caller);
     for (int i = 0; i < classStack.length; i++)
       {
This page took 0.09497 seconds and 5 git commands to generate.