7022100: Method annotations are incorrectly set when redefining classes

Changed to the correct annotation arrays

Reviewed-by: kamg, dholmes, sla
This commit is contained in:
Stefan Karlsson 2012-01-27 13:46:24 +01:00
parent ec891da5a7
commit b7d5d72f78

View File

@ -570,9 +570,9 @@ class instanceKlass: public Klass {
void set_method_annotations_of(int idnum, typeArrayOop anno)
{ set_methods_annotations_of(idnum, anno, &_methods_annotations); }
void set_method_parameter_annotations_of(int idnum, typeArrayOop anno)
{ set_methods_annotations_of(idnum, anno, &_methods_annotations); }
{ set_methods_annotations_of(idnum, anno, &_methods_parameter_annotations); }
void set_method_default_annotations_of(int idnum, typeArrayOop anno)
{ set_methods_annotations_of(idnum, anno, &_methods_annotations); }
{ set_methods_annotations_of(idnum, anno, &_methods_default_annotations); }
// allocation
DEFINE_ALLOCATE_PERMANENT(instanceKlass);