* src/native/vm/reflect.c
authorpanzi <none@none>
Wed, 15 Aug 2007 22:49:20 +0000 (22:49 +0000)
committerpanzi <none@none>
Wed, 15 Aug 2007 22:49:20 +0000 (22:49 +0000)
commit01c88240558e127fd4d442a3d7b5e740ca397f00
tree4a686effe9e29f09851fd425ed70c5dbeea39b06
parent93236cbbded48b04514c93b4a865912969b41d1f
* src/native/vm/reflect.c
(reflect_constructor_new): Allocation of the java_bytearray is now done in the
method_get_* functions.
(reflect_field_new): Allocation of the java_bytearray is now done in the
field_get_* functions.
(reflect_method_new): Allocation of the java_bytearray is now done in the
method_get_* functions. Added use of LLNI_field_* macros.

* src/vmcore/method.c
(method_get_annotations): Do allocation of the java_bytearray here.
(method_get_parameterannotations): Do allocation of the java_bytearray here.
(method_get_annotationdefault): Do allocation of the java_bytearray here.

* src/vmcore/method.h
(method_get_annotations): This function now returns java_bytearray*.
(method_get_parameterannotations): This function now returns java_bytearray*.
(method_get_annotationdefault): This function now returns java_bytearray*.

* src/vmcore/field.c
(vm/builtin.h): Added include.
(field_get_annotations): Do allocation of the java_bytearray here.

* src/vmcore/field.h
(field_get_annotations): This function now returns java_bytearray*.

* src/cacaoh/dummy.c
(builtin_newarray_byte): Added.
src/cacaoh/dummy.c
src/native/vm/reflect.c
src/vmcore/field.c
src/vmcore/field.h
src/vmcore/method.c
src/vmcore/method.h