51 |
protected SecureClassLoader(ClassLoader parent) |
protected SecureClassLoader(ClassLoader parent) |
52 |
{ |
{ |
53 |
super(parent); |
super(parent); |
54 |
// FIXME: What else? |
SecurityManager sm = System.getSecurityManager(); |
55 |
|
if(sm != null) |
56 |
|
sm.checkCreateClassLoader(); |
57 |
} |
} |
58 |
|
|
59 |
protected SecureClassLoader() |
protected SecureClassLoader() |
60 |
{ |
{ |
61 |
// FIXME: What do we need to do here? |
SecurityManager sm = System.getSecurityManager(); |
62 |
|
if(sm != null) |
63 |
|
sm.checkCreateClassLoader(); |
64 |
} |
} |
65 |
|
|
66 |
/** |
/** |