1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix port build failure.

This commit is contained in:
Archie Cobbs 2003-03-20 00:31:15 +00:00
parent 1bc501c199
commit ed926c06e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77166

View File

@ -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)
{