7123315: instanceKlass::_static_oop_field_count and instanceKlass::_java_fields_count should be u2 type

Change instanceKlass::_static_oop_field_count and instanceKlass::_java_fields_count to u2 type.

Reviewed-by: never, bdelsart, dholmes
This commit is contained in:
Jiangli Zhou 2011-12-28 12:15:57 -05:00 committed by Jiangli Zhou
parent 82a0e26723
commit 0671e90755
4 changed files with 14 additions and 12 deletions

View file

@ -91,7 +91,7 @@ class ClassFileParser VALUE_OBJ_CLASS_SPEC {
constantPoolHandle cp, bool is_interface,
FieldAllocationCount *fac,
objArrayHandle* fields_annotations,
int* java_fields_count_ptr, TRAPS);
u2* java_fields_count_ptr, TRAPS);
// Method parsing
methodHandle parse_method(constantPoolHandle cp, bool is_interface,