diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2003-03-20 00:31:15 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2003-03-20 00:31:15 +0000 |
commit | ed926c06e6c588016c2cc2f40e1f912e414560db (patch) | |
tree | d67e01707294a0f8e12f89836af305d0ba3ae985 /java | |
parent | Fix port build failure. (diff) |
Fix port build failure.
Notes
Notes:
svn path=/head/; revision=77166
Diffstat (limited to 'java')
-rw-r--r-- | java/sablevm/files/patch-ar | 15 |
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) + { |