aboutsummaryrefslogtreecommitdiff
path: root/java/sablevm/files/patch-ar
blob: 2f95eab3e5965a8d9e4acb7ce418518b7f8ed7b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
       {