Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/arguments.cpp @ 8098:1b0dc9f87e75
8006753: fix failed for JDK-8002415 White box testing API for HotSpot
Summary: Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue
Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
author | mgerdin |
---|---|
date | Tue, 19 Feb 2013 18:45:49 +0100 |
parents | 1cdf241a4b26 |
children | 94478a033036 |
comparison
equal
deleted
inserted
replaced
8069:1048edb5434a | 8098:1b0dc9f87e75 |
---|---|
2187 strcpy(altclasses_path, get_meta_index_dir()); | 2187 strcpy(altclasses_path, get_meta_index_dir()); |
2188 strcat(altclasses_path, altclasses_jar); | 2188 strcat(altclasses_path, altclasses_jar); |
2189 scp.add_suffix_to_prefix(altclasses_path); | 2189 scp.add_suffix_to_prefix(altclasses_path); |
2190 scp_assembly_required = true; | 2190 scp_assembly_required = true; |
2191 FREE_C_HEAP_ARRAY(char, altclasses_path, mtInternal); | 2191 FREE_C_HEAP_ARRAY(char, altclasses_path, mtInternal); |
2192 } | |
2193 | |
2194 if (WhiteBoxAPI) { | |
2195 // Append wb.jar to bootclasspath if enabled | |
2196 const char* wb_jar = "wb.jar"; | |
2197 size_t wb_path_len = strlen(get_meta_index_dir()) + 1 + | |
2198 strlen(wb_jar); | |
2199 char* wb_path = NEW_C_HEAP_ARRAY(char, wb_path_len, mtInternal); | |
2200 strcpy(wb_path, get_meta_index_dir()); | |
2201 strcat(wb_path, wb_jar); | |
2202 scp.add_suffix(wb_path); | |
2203 scp_assembly_required = true; | |
2204 FREE_C_HEAP_ARRAY(char, wb_path, mtInternal); | |
2205 } | 2192 } |
2206 | 2193 |
2207 // Parse _JAVA_OPTIONS environment variable (if present) (mimics classic VM) | 2194 // Parse _JAVA_OPTIONS environment variable (if present) (mimics classic VM) |
2208 result = parse_java_options_environment_variable(&scp, &scp_assembly_required); | 2195 result = parse_java_options_environment_variable(&scp, &scp_assembly_required); |
2209 if (result != JNI_OK) { | 2196 if (result != JNI_OK) { |