VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly.
* java/lang/VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly. From-SVN: r99185
This commit is contained in:
parent
7c49fef59c
commit
21fae9376c
@ -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>
|
2005-05-03 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* java/lang/VMSecurityManager.java (currentClassLoader): Don't
|
* java/lang/VMSecurityManager.java (currentClassLoader): Don't
|
||||||
|
@ -54,7 +54,7 @@ class VMSecurityManager
|
|||||||
// The docs above are wrong. See the online docs.
|
// The docs above are wrong. See the online docs.
|
||||||
// FIXME this implementation is a bit wrong too -- the docs say we
|
// FIXME this implementation is a bit wrong too -- the docs say we
|
||||||
// must also consider ancestors of the system class loader.
|
// must also consider ancestors of the system class loader.
|
||||||
ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
|
ClassLoader systemClassLoader = ClassLoader.systemClassLoader;
|
||||||
Class[] classStack = getClassContext (caller);
|
Class[] classStack = getClassContext (caller);
|
||||||
for (int i = 0; i < classStack.length; i++)
|
for (int i = 0; i < classStack.length; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user