X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvm%2Fvm.cpp;h=cc60d2b68cec5f51ef74505252cb9ff77a6f1359;hb=e8991f3b4e138a9a576c342edb693eae70190034;hp=349ab9a3b0955ef446a428c4bb6eab90aaae9934;hpb=5ab2809427a7e0b9aa58fbc56bd4afab64e38689;p=cacao.git diff --git a/src/vm/vm.cpp b/src/vm/vm.cpp index 349ab9a3b..cc60d2b68 100644 --- a/src/vm/vm.cpp +++ b/src/vm/vm.cpp @@ -1370,10 +1370,7 @@ VM::VM(JavaVMInitArgs* vm_args) /* AFTER: thread_preinit */ - if (!suck_init()) - os::abort("vm_create: suck_init failed"); - - suck_add_from_property("java.endorsed.dirs"); + _suckclasspath.add_from_property("java.endorsed.dirs"); /* Now we have all options handled and we can print the version information. @@ -1387,7 +1384,7 @@ VM::VM(JavaVMInitArgs* vm_args) // FIXME Make boot_class_path const char*. boot_class_path = (char*) _properties.get("sun.boot.class.path"); - suck_add(boot_class_path); + _suckclasspath.add(boot_class_path); /* initialize the classcache hashtable stuff: lock, hashtable (must be done _after_ threads_preinit) */