aboutsummaryrefslogtreecommitdiff
path: root/java/sablevm
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2003-03-20 00:31:15 +0000
committerArchie Cobbs <archie@FreeBSD.org>2003-03-20 00:31:15 +0000
commited926c06e6c588016c2cc2f40e1f912e414560db (patch)
treed67e01707294a0f8e12f89836af305d0ba3ae985 /java/sablevm
parent1bc501c1999bf107d8a6ca09d556500379b31139 (diff)
downloadports-ed926c06e6c588016c2cc2f40e1f912e414560db.tar.gz
ports-ed926c06e6c588016c2cc2f40e1f912e414560db.zip
Notes
Diffstat (limited to 'java/sablevm')
-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)
+ {