* src/vm/class.c (vm/suck.h): Added.
(class_load_attribute_sourcefile): New function.
(class_load_attribute_enclosingmethod): Likewise.
(class_load_attributes): Likewise.
* src/vm/loader.c [ENABLE_JAVASE] (vm/annotation.h, vm/stackmap.h):
Added.
(skipattributebody): Renamed to loader_skip_attribute_body, made
non-static.
(skipattributes): Removed.
(loader_load_attribute_signature): New function.
(load_field): Use loader_load_attribute_signature.
(load_method): Renamed to loader_load_method, call
stackmap_load_attribute_stackmaptable and
loader_load_attribute_signature.
(load_attributes): Removed.
(load_class_from_classbuffer): Renamed load_method to
loader_load_method and load_attributes to class_load_attributes.
* src/vm/loader.h (loader_skip_attribute_body): Added.
[ENABLE_JAVASE] (loader_load_attribute_signature): Likewise.
* src/vm/method.h [ENABLE_JAVASE] (vm/stackmap.h): Added.
(methodinfo) [ENABLE_JAVASE]: Added signature and stack_map.
* src/vm/statistics.c (size_stack_map): Added.
(print_stats): Print stack_map size.
* src/vm/statistics.h (size_stack_map): Likewise.
* src/vm/global.h (JAVA_VERSION): Changed to "1.5.0".
(CLASS_VERSION): Changed to "50.0".
(MAJOR_VERSION): Changed to 50.
* src/vm/utf8.c [ENABLE_JAVASE] (utf_EnclosingMethod)
(utf_RuntimeVisibleAnnotations, utf_StackMapTable): Added.
(utf8_init) [ENABLE_JAVASE]: Init utf_EnclosingMethod,
utf_RuntimeVisibleAnnotations and utf_StackMapTable.
* src/vm/utf8.h [ENABLE_JAVASE] (utf_EnclosingMethod)
(utf_RuntimeVisibleAnnotations, utf_StackMapTable): Added.
* src/vm/properties.c (properties_init): Changed
java.specification.version to 1.5.
* src/vm/Makefile.am [ENABLE_JAVASE] (ANNOTATION_OBJ): Renamed to
ANNOTATION_SOURCES.
[ENABLE_JAVASE] (STACKMAP_SOURCES): Added.
[ENABLE_STATISTICS] (STATISTICS_OBJ): Renamed to STATISTICS_SOURCES.
(libvmcore_la_SOURCES): Added STACKMAP_SOURCES.
* src/vm/stackmap.c: New file.
* src/vm/stackmap.h: Likewise.
13 files changed: