Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/reflection.cpp @ 10378:a589c78a8811
8014709: Constructor.getAnnotatedReturnType() returns empty AnnotatedType
Reviewed-by: stefank, rbackman
Contributed-by: Joel Borggren-Franck <joel.franck@oracle.com>
author | rbackman |
---|---|
date | Fri, 31 May 2013 13:02:24 +0200 |
parents | f9eb431c3efe |
children | efe8b7d64424 |
comparison
equal
deleted
inserted
replaced
10377:fe00365c8f31 | 10378: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 |