diff options
author | Tom Tromey <tromey@redhat.com> | 2005-05-03 19:33:13 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2005-05-03 19:33:13 +0000 |
commit | 9d4440a547cafd1fb3fab572ed14122a79009c00 (patch) | |
tree | e81823927787d66c21ddbf667a678759a6f6e0f2 /libjava/java | |
parent | f34ac6269ad8f7ada2da7877e8060961e750b9ea (diff) | |
download | gcc-9d4440a547cafd1fb3fab572ed14122a79009c00.zip gcc-9d4440a547cafd1fb3fab572ed14122a79009c00.tar.gz gcc-9d4440a547cafd1fb3fab572ed14122a79009c00.tar.bz2 |
VMSecurityManager.java (currentClassLoader): Don't call VMClassLoader.getSystemClassLoader.
* java/lang/VMSecurityManager.java (currentClassLoader): Don't
call VMClassLoader.getSystemClassLoader.
From-SVN: r99177
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/lang/VMSecurityManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/lang/VMSecurityManager.java b/libjava/java/lang/VMSecurityManager.java index f995ec8..03e286b 100644 --- a/libjava/java/lang/VMSecurityManager.java +++ b/libjava/java/lang/VMSecurityManager.java @@ -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++) { |