hotspot/src/share/vm/runtime/arguments.cpp
changeset 15800 55dcad6bc1a5
parent 15764 d011079fafe0
parent 15793 4867678e3517
child 15936 4fda1079e8a3
child 15950 e69feec75343
child 15922 86a368d3ac8c
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Thu Feb 21 11:39:24 2013 -0800
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Fri Feb 22 10:16:51 2013 -0800
@@ -2181,19 +2181,6 @@
     FREE_C_HEAP_ARRAY(char, altclasses_path, mtInternal);
   }
 
-  if (WhiteBoxAPI) {
-    // Append wb.jar to bootclasspath if enabled
-    const char* wb_jar = "wb.jar";
-    size_t wb_path_len = strlen(get_meta_index_dir()) + 1 +
-                         strlen(wb_jar);
-    char* wb_path = NEW_C_HEAP_ARRAY(char, wb_path_len, mtInternal);
-    strcpy(wb_path, get_meta_index_dir());
-    strcat(wb_path, wb_jar);
-    scp.add_suffix(wb_path);
-    scp_assembly_required = true;
-    FREE_C_HEAP_ARRAY(char, wb_path, mtInternal);
-  }
-
   // Parse _JAVA_OPTIONS environment variable (if present) (mimics classic VM)
   result = parse_java_options_environment_variable(&scp, &scp_assembly_required);
   if (result != JNI_OK) {