aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2003-03-20 08:31:15 +0800
committerarchie <archie@FreeBSD.org>2003-03-20 08:31:15 +0800
commit18c628631dc89882fb427509d3bcd45bb54b6827 (patch)
tree44200314994835a5ca393cad127a8768972b7b65 /java
parent2f126a4b6f150786c6a3f0f7e45359fe17592d67 (diff)
downloadfreebsd-ports-gnome-18c628631dc89882fb427509d3bcd45bb54b6827.tar.gz
freebsd-ports-gnome-18c628631dc89882fb427509d3bcd45bb54b6827.tar.zst
freebsd-ports-gnome-18c628631dc89882fb427509d3bcd45bb54b6827.zip
Fix port build failure.
Diffstat (limited to 'java')
-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)
+ {