projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/native/vm/nativevm.cpp (nativevm_init): Return boolean to indicate error.
[cacao.git]
/
src
/
vm
/
vm.cpp
diff --git
a/src/vm/vm.cpp
b/src/vm/vm.cpp
index 43fb31c9a402ac613579e143935f44c9c5dc6d4a..349ab9a3b0955ef446a428c4bb6eab90aaae9934 100644
(file)
--- a/
src/vm/vm.cpp
+++ b/
src/vm/vm.cpp
@@
-1472,7
+1472,8
@@
VM::VM(JavaVMInitArgs* vm_args)
/* Initialize the native VM subsystem. */
/* AFTER: threads_init (at least for SUN's classes) */
- nativevm_init();
+ if (!nativevm_init())
+ os::abort("vm_create: nativevm_init failed");
#if defined(ENABLE_PROFILING)
/* initialize profiling */