6967423: Hotspot support for modules image

Add hotspot support for modules image

Reviewed-by: acorn
This commit is contained in:
Mandy Chung 2010-07-07 15:35:58 -07:00
parent 7c19b04e6d
commit a20650acd0
5 changed files with 43 additions and 8 deletions

View file

@ -886,6 +886,11 @@ bool os::set_boot_path(char fileSep, char pathSep) {
"%/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.jar:"
"%/classes";
char* sysclasspath = format_boot_path(classpath_format, home, home_len, fileSep, pathSep);
if (sysclasspath == NULL) return false;