* src/vm/suck.c (vm/vm.h): Added.
authortwisti <none@none>
Fri, 20 Oct 2006 13:54:54 +0000 (13:54 +0000)
committertwisti <none@none>
Fri, 20 Oct 2006 13:54:54 +0000 (13:54 +0000)
commitd2cf3994fafb0066c2da0a4ae6d6fe389b3df074
tree2681a0418f50f6f3669ed88c113c9f4b306c143f
parentdaae57cb182adec893936cceec44873bf491c143
* src/vm/suck.c (vm/vm.h): Added.
(bootclasspath, classpath): Removed.
(suck_add_from_property): Prefix bootclasspath with _Jv_.
* src/vm/suck.h (bootclasspath, classpath): Removed.

* src/vm/vm.c (_Jv_bootclasspath, _Jv_classpath)
(_Jv_java_library_path): Added.
(version): Prefix bootclasspath with _Jv_.
(vm_create): Likewise, set _Jv_java_library_path to LD_LIBRARY_PATH
before handling commandline options.
* src/vm/vm.h (_Jv_bootclasspath, _Jv_classpath)
(_Jv_java_library_path): Added.

* src/native/vm/gnu_classpath_VMSystemProperties.c (preInit): Prefix
bootclasspath and classpath with _Jv_, use _Jv_java_library_path for
setting java.library.path.

* src/cacao/cacao.c (main): First let dlopen try to open libjvm at
it's default locations.
* src/native/native.c (native_init): Likewise.

* src/cacaoh/headers.c (_Jv_bootclasspath): Added.

* contrib/setenvinstalled.in: Set LD_LIBRARY_PATH again.
* contrib/setenvsource.in: Likewise.

* tests/regression/native/Makefile.am (JAVAFLAGS): Removed
-Djava.library.path=.
(check): Set LD_LIBRARY_PATH.
* tests/regression/codepatching/Makefile.am (check): Likewise.
* tests/regression/Makefile.am: Likewise.
13 files changed:
contrib/setenvinstalled.in
contrib/setenvsource.in
src/cacao/cacao.c
src/cacaoh/headers.c
src/native/native.c
src/native/vm/gnu_classpath_VMSystemProperties.c
src/vm/suck.c
src/vm/suck.h
src/vm/vm.c
src/vm/vm.h
tests/regression/Makefile.am
tests/regression/codepatching/Makefile.am
tests/regression/native/Makefile.am