mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
c237f6edac
so that we don't need to specify the bootclasspath. Bump portrevision.
22 lines
712 B
Java
22 lines
712 B
Java
Dirty hack...recognize sun.boot.class.path for implicit bootclasspath.
|
|
|
|
--- org/eclipse/jdt/internal/compiler/batch/Main.java Fri Aug 4 15:14:29 2006
|
|
+++ org/eclipse/jdt/internal/compiler/batch/Main.java Fri Aug 4 16:04:13 2006
|
|
@@ -2448,6 +2448,16 @@
|
|
}
|
|
}
|
|
}
|
|
+
|
|
+ /*
|
|
+ * Handle sun.boot.class.path
|
|
+ */
|
|
+ String sunboot = System.getProperty("sun.boot.class.path");
|
|
+ File sunbootclasspath = new File (sunboot);
|
|
+ FileSystem.Classpath classpath = FileSystem.getClasspath(
|
|
+ sunbootclasspath.getAbsolutePath(),
|
|
+ null, false, null);
|
|
+ if (classpath != null) {bootclasspaths.add(classpath);}
|
|
}
|
|
final int classpathsSize = classpaths.size();
|
|
if (classpaths.size() != 0) {
|