aboutsummaryrefslogtreecommitdiff
path: root/java/sablevm/files/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'java/sablevm/files/patch-ar')
-rw-r--r--java/sablevm/files/patch-ar15
1 files changed, 15 insertions, 0 deletions
diff --git a/java/sablevm/files/patch-ar b/java/sablevm/files/patch-ar
new file mode 100644
index 000000000000..2f95eab3e596
--- /dev/null
+++ b/java/sablevm/files/patch-ar
@@ -0,0 +1,15 @@
+--- work/sablevm-class-library-1.0.6/src/java/lang/ClassLoader.java.orig Wed Mar 19 16:28:55 2003
++++ work/sablevm-class-library-1.0.6/src/java/lang/ClassLoader.java Wed Mar 19 16:13:56 2003
+@@ -913,9 +913,12 @@
+ try
+ {
+ // Give the new system class loader a null parent.
++ /***********
+ Constructor c = Class.forName(loader).getConstructor
+ ( new Class[] { ClassLoader.class } );
+ return (ClassLoader) c.newInstance(new Object[1]);
++ ***********/
++ return new gnu.java.lang.SystemClassLoader(null);
+ }
+ catch (Exception e)
+ {