blob: 80c93af6ff65986e3fb001bdc8ed997c6786896d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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) {
|