aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-05-03 22:15:01 +0000
committerTom Tromey <tromey@gcc.gnu.org>2005-05-03 22:15:01 +0000
commit21fae9376c1a132caa4eb51067f02bd81b8f91f2 (patch)
treefbd5872bbbff62a7c4f893e9966795c098aed979 /libjava/java/lang
parent7c49fef59c33b27b6a4cd2d8e6930eb2b8b15e0e (diff)
downloadgcc-21fae9376c1a132caa4eb51067f02bd81b8f91f2.zip
gcc-21fae9376c1a132caa4eb51067f02bd81b8f91f2.tar.gz
gcc-21fae9376c1a132caa4eb51067f02bd81b8f91f2.tar.bz2
VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly.
* java/lang/VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly. From-SVN: r99185
Diffstat (limited to 'libjava/java/lang')
-rw-r--r--libjava/java/lang/VMSecurityManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/lang/VMSecurityManager.java b/libjava/java/lang/VMSecurityManager.java
index 03e286b..77a7462 100644
--- a/libjava/java/lang/VMSecurityManager.java
+++ b/libjava/java/lang/VMSecurityManager.java
@@ -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++)
{