]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
VMSecurityManager.java (currentClassLoader): Don't call VMClassLoader.getSystemClassL...
authorTom Tromey <tromey@redhat.com>
Tue, 3 May 2005 19:33:13 +0000 (19:33 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 3 May 2005 19:33:13 +0000 (19:33 +0000)
* java/lang/VMSecurityManager.java (currentClassLoader): Don't
call VMClassLoader.getSystemClassLoader.

From-SVN: r99177

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

index 5ff18928590163d4dad3d23369c28e310b30906e..abd13b6ef6aa4f229c74587878a8bfb5b926f694 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-03  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/VMSecurityManager.java (currentClassLoader): Don't
+       call VMClassLoader.getSystemClassLoader.
+
 2005-04-29  Michael Koch  <konqueror@gmx.de>
 
        * java/net/NetworkInterface.java
index f995ec89cf47cecf48bac3e2b9a42cb547e448cd..03e286b2176dd5674b273dd4022d9aa0e1b57f04 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * java.lang.SecurityManager: part of the Java Class Libraries project.
- * Copyright (C) 1998, 2001, 2002 Free Software Foundation
+ * Copyright (C) 1998, 2001, 2002, 2005 Free Software Foundation
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -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 = VMClassLoader.getSystemClassLoader();
+    ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
     Class[] classStack = getClassContext (caller);
     for (int i = 0; i < classStack.length; i++)
       {