src/share/vm/runtime/reflection.cpp

changeset 5210
a589c78a8811
parent 4431
f9eb431c3efe
child 5211
efe8b7d64424
equal deleted inserted replaced
5209:fe00365c8f31 5210:a589c78a8811
814 java_lang_reflect_Constructor::set_annotations(ch(), an_oop); 814 java_lang_reflect_Constructor::set_annotations(ch(), an_oop);
815 } 815 }
816 if (java_lang_reflect_Constructor::has_parameter_annotations_field()) { 816 if (java_lang_reflect_Constructor::has_parameter_annotations_field()) {
817 typeArrayOop an_oop = Annotations::make_java_array(method->parameter_annotations(), CHECK_NULL); 817 typeArrayOop an_oop = Annotations::make_java_array(method->parameter_annotations(), CHECK_NULL);
818 java_lang_reflect_Constructor::set_parameter_annotations(ch(), an_oop); 818 java_lang_reflect_Constructor::set_parameter_annotations(ch(), an_oop);
819 }
820 if (java_lang_reflect_Constructor::has_type_annotations_field()) {
821 typeArrayOop an_oop = Annotations::make_java_array(method->type_annotations(), CHECK_NULL);
822 java_lang_reflect_Constructor::set_type_annotations(ch(), an_oop);
819 } 823 }
820 return ch(); 824 return ch();
821 } 825 }
822 826
823 827

mercurial