* src/vmcore/method.c (method_get_annotations): Always enable the
authortwisti <none@none>
Thu, 16 Aug 2007 15:54:38 +0000 (15:54 +0000)
committertwisti <none@none>
Thu, 16 Aug 2007 15:54:38 +0000 (15:54 +0000)
commit479bc12d66924829c310bb6d8e0f93c0f930abdd
treeca62e989903e5bbabbb31955c2380485f6ea1635
parent5335ef5510b3e6a8f9d14d399c1cb52923d285b8
* src/vmcore/method.c (method_get_annotations): Always enable the
method, but return NULL for !ENABLE_ANNOTATIONS. This keeps code
calling this function simpler.
(method_get_parameterannotations): Likewise.
(method_get_annotationdefault): Likewise.

* src/vmcore/method.h (method_get_annotations): Removed
ENABLE_ANNOTATIONS.
(method_get_parameterannotations): Likewise.
(method_get_annotationdefault): Likewise.

* src/native/vm/reflect.c (reflect_constructor_new): Always call
method-annotations functions.
(reflect_field_new): Likewise.
(reflect_method_new): Likewise.
src/native/vm/reflect.c
src/vmcore/method.c
src/vmcore/method.h