* autogen.sh: Made executeable.
authorMathias Panzenboeck <e0427417@student.tuwien.ac.at>
Mon, 27 Aug 2007 20:18:02 +0000 (22:18 +0200)
committerMathias Panzenboeck <e0427417@student.tuwien.ac.at>
Mon, 27 Aug 2007 20:18:02 +0000 (22:18 +0200)
commit4e42a57a72e187e09ec62b419d63c71d3be56064
treeb7bb2d6c4321ffd6c1a670a6296d31703c9abe5a
parent9f859ad50d3d5d98c185d40b86b2179bc4dc9aeb
* autogen.sh: Made executeable.

* src/cacaoh/dummy.c
(mm/memory.h): Added include.
(native/llni.h): Added include.
(array_objectarray_element_get): Added dummy implementation.
(array_objectarray_element_set): Added dummy implementation.
(array_length_get): Added dummy implementation.
(builtin_anewarray): Added dummy implementation using MNEW.
(builtin_newarray_byte): Added dummy implementation using MNEW.
(primitive_arrayclass_get_by_type): Added dummy implementation.

* src/mm/boehm-gc/autogen.sh: Made executeable.

* src/native/vm/gnu/java_lang_reflect_Constructor.c
(Java_java_lang_reflect_Constructor_declaredAnnotations):
Removed unused variable o.
(Java_java_lang_reflect_Constructor_getParameterAnnotations):
Removed unused variable o.

* src/native/vm/gnu/java_lang_reflect_Field.c
(Java_java_lang_reflect_Field_declaredAnnotations):
Removed unused variable o.

* src/native/vm/gnu/java_lang_reflect_Method.c
(Java_java_lang_reflect_Method_getDefaultValue):
Removed unused variable o.
(Java_java_lang_reflect_Method_declaredAnnotations):
Removed unused variable o.
(Java_java_lang_reflect_Method_getParameterAnnotations):
Removed unused variable o.

* src/native/vm/gnu/sun_reflect_ConstantPool.c
(_Jv_sun_reflect_ConstantPool_init): Removed usage of global string
utf_sun_reflect_ConstantPool.

* src/native/vm/java_lang_Class.c [WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS]:
Sorted includes.
(_Jv_java_lang_Class_getDeclaredAnnotations): Fixed comment.

* src/vmcore/annotation.c
(native/llni.h): Added include.
(vm/array.h): Added include.
(vm/builtin.h): Added include.
(vm/primitive.h): Added include.
(annotation_bytearray_new): Removed.
(annotation_bytearray_free): Removed.
(annotation_bytearrays_new): Removed.
(annotation_bytearrays_free): Removed.
(annotation_bytearrays_resize): Made static and now java_handle_objectarray_t
is used instead of my own array type.
(annotation_bytearrays_insert): Made static and now java_handle_objectarray_t
is used instead of my own array type.
(annotation_load_attribute_body):
Using java_handle_bytearray_t instead of my own array type.
(annotation_load_method_attribute_annotationdefault):
Using java_handle_bytearray_t and java_handle_objectarray_t instead of my own
array types.
(annotation_load_method_attribute_runtimevisibleparameterannotations):
Using java_handle_bytearray_t and java_handle_objectarray_t instead of my own
array types.
(annotation_load_method_attribute_runtimevisibleannotations):
Using java_handle_bytearray_t and java_handle_objectarray_t instead of my own
array types.
(annotation_load_field_attribute_runtimevisibleannotations):
Using java_handle_bytearray_t and java_handle_objectarray_t instead of my own
array types.

* src/vmcore/annotation.h
(annotation_bytearray_t): Removed.
(annotation_bytearrays_t): Removed.
(annotation_bytearray_new): Removed.
(annotation_bytearray_free): Removed.
(annotation_bytearrays_new): Removed.
(annotation_bytearrays_resize): Removed.
(annotation_bytearrays_insert): Removed.
(annotation_bytearrays_free): Removed.

* src/vmcore/class.c
(class_sun_reflect_annotation_AnnotationParser): Is only declared when
WITH_CLASSPATH_GNU is defined.
(class_free) [ENABLE_ANNOTATIONS]: Removed usage of
annotation_bytearray*_free() functions.
(class_get_annotations): Don't have to copy anything now, just return the
java_handle_bytearray_t.

* src/vmcore/class.h
(classinfo): Fixed comments.
(classinfo) [ENABLE_ANNOTATIONS]: Now using java_handle_bytearray_t and
java_handle_objectarray_t instead of my own array types.

* src/vmcore/loader.c
(loader_init): Removed usage of global string utf_sun_reflect_ConstantPool
and utf_sun_reflect_annotation_AnnotationParser.

* src/vmcore/field.c
(vm/array.h): Added include.
(field_get_annotations): Don't have to copy anything now, just return the
java_handle_bytearray_t.

* src/vmcore/method.c
(vm/array.h): Added include.
(method_get_annotations): Don't have to copy anything now, just return the
java_handle_bytearray_t.
(method_get_parameterannotations): Don't have to copy anything now, just return
the java_handle_bytearray_t.
(method_get_annotationdefault): Don't have to copy anything now, just return
the java_handle_bytearray_t.

* src/vmcore/utf8.c
(utf_sun_reflect_ConstantPool): Removed.
(utf_sun_reflect_annotation_AnnotationParser): Removed.

* src/vmcore/utf8.h
(utf_sun_reflect_ConstantPool): Removed.
(utf_sun_reflect_annotation_AnnotationParser): Removed.
17 files changed:
autogen.sh [changed mode: 0644->0755]
src/cacaoh/dummy.c
src/mm/boehm-gc/autogen.sh [changed mode: 0644->0755]
src/native/vm/gnu/java_lang_reflect_Constructor.c
src/native/vm/gnu/java_lang_reflect_Field.c
src/native/vm/gnu/java_lang_reflect_Method.c
src/native/vm/gnu/sun_reflect_ConstantPool.c
src/native/vm/java_lang_Class.c
src/vmcore/annotation.c
src/vmcore/annotation.h
src/vmcore/class.c
src/vmcore/class.h
src/vmcore/field.c
src/vmcore/loader.c
src/vmcore/method.c
src/vmcore/utf8.c
src/vmcore/utf8.h