* src/native/jni.hpp: We typedef the JNI types to the CACAO internal
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Fri, 29 Aug 2008 13:22:35 +0000 (15:22 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Fri, 29 Aug 2008 13:22:35 +0000 (15:22 +0200)
commit79c1f3f6d7847231db61bcdff0ca81872fa80556
treeb0c6ab59f0e97a09061cd89749ffd54c0b8afe3f
parent5e9917d2f37a0a98d8d8b7c7782f0e6566a195b2
* src/native/jni.hpp: We typedef the JNI types to the CACAO internal
types.  This should make the code smaller and more robust.
(_CLASSPATH_VM_JNI_TYPES_DEFINED): Defined.
(JNI_TYPES_ALREADY_DEFINED_IN_JNI_MD_H): Likewise.
* src/vm/global.h (java_handle_array_t): Added.
* src/vm/javaobjects.hpp: Removed all constructors with JNI types. The
constructors with the CACAO types can now be used.
* src/native/vm/openjdk/hpi.c (native/jni.hpp): Removed.
(INCLUDE_HPI_MD_H, INCLUDE_HPI_H): Added.
* tests/regression/native/checkjni.c: Likewise.
* tests/regression/native/testarguments.c: Likewise.
src/native/jni.hpp
src/native/vm/openjdk/hpi.c
src/vm/global.h
src/vm/javaobjects.hpp
tests/regression/native/checkjni.c
tests/regression/native/testarguments.c