'systemClasssLoader' directly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99185
138bc75d-0d04-0410-961f-
82ee72b054a4
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
call VMClassLoader.getSystemClassLoader.
// 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++)
{