summaryrefslogtreecommitdiffstats
path: root/java/sablevm
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2003-03-20 00:31:15 +0000
committerarchie <archie@FreeBSD.org>2003-03-20 00:31:15 +0000
commit18c628631dc89882fb427509d3bcd45bb54b6827 (patch)
tree44200314994835a5ca393cad127a8768972b7b65 /java/sablevm
parent2f126a4b6f150786c6a3f0f7e45359fe17592d67 (diff)
downloadFreeBSD-ports-18c628631dc89882fb427509d3bcd45bb54b6827.zip
FreeBSD-ports-18c628631dc89882fb427509d3bcd45bb54b6827.tar.gz
Fix port build failure.
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 0000000..2f95eab
--- /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)
+ {
OpenPOWER on IntegriCloud