mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
BootClassLoader.java (BootClassLoader): Pass `null' parent ClassLoader to parent constructor.
2005-09-21 Bryce McKinlay <mckinlay@redhat.com> * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass `null' parent ClassLoader to parent constructor. * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New constructor. From-SVN: r104516
This commit is contained in:
parent
d2f48ccf68
commit
0c9976393b
@ -1,3 +1,10 @@
|
||||
2005-09-21 Bryce McKinlay <mckinlay@redhat.com>
|
||||
|
||||
* gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
|
||||
`null' parent ClassLoader to parent constructor.
|
||||
* gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
|
||||
constructor.
|
||||
|
||||
2005-09-21 Ranjit Mathew <rmathew@gcc.gnu.org>
|
||||
|
||||
* testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
|
||||
|
@ -23,6 +23,9 @@ public final class BootClassLoader extends HelperClassLoader
|
||||
{
|
||||
BootClassLoader(String libdir)
|
||||
{
|
||||
// The BootClassLoader is the top of the delegation chain. It does not
|
||||
// have a parent.
|
||||
super((ClassLoader) null);
|
||||
addDirectoriesFromProperty("java.endorsed.dirs");
|
||||
addDirectoriesFromProperty("gnu.gcj.runtime.endorsed.dirs");
|
||||
|
||||
|
@ -25,6 +25,11 @@ class HelperClassLoader extends URLClassLoader
|
||||
{
|
||||
super(new URL[0]);
|
||||
}
|
||||
|
||||
HelperClassLoader(ClassLoader parent)
|
||||
{
|
||||
super(new URL[0], parent);
|
||||
}
|
||||
|
||||
/**
|
||||
* This is a helper method that adds all the jar and zip files from
|
||||
|
Loading…
Reference in New Issue
Block a user