changeset 581:dcfe9cb00de5 j1-2009-demo

Temporary hack to keep the legacy launcher working in modular mode
author mr
date Fri, 29 May 2009 12:47:26 -0700
parents 8879ef58b397
children 0315d2e8f0a7
files src/share/vm/runtime/os.cpp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/os.cpp	Fri May 29 09:38:12 2009 -0700
+++ b/src/share/vm/runtime/os.cpp	Fri May 29 12:47:26 2009 -0700
@@ -899,6 +899,14 @@
         "%/lib/jsse.jar:"
         "%/lib/jce.jar:"
         "%/lib/charsets.jar:"
+
+        // ## TEMPORARY hack to keep the legacy launcher working when
+        // ## only the boot module is installed (cf. j.l.ClassLoader)
+        "%/lib/modules/jdk.boot/7-ea/classes:"
+        "%/lib/modules/jdk.boot/7-ea/classes.jar:"
+        "%/lib/modules/jdk.boot/7-ea/resources:"
+        "%/lib/modules/jdk.boot/7-ea/resources.jar:"
+
         "%/classes";
     char* sysclasspath = format_boot_path(classpath_format, home, home_len, fileSep, pathSep);
     if (sysclasspath == NULL) return false;