Mercurial > hg > graal-compiler
diff src/share/vm/classfile/classFileParser.hpp @ 20703:0fa1f71a905b
8065634: Crash in InstanceKlass::clean_method_data when _method is NULL
Reviewed-by: coleenp, hseigel, poonam
author | stefank |
---|---|
date | Thu, 11 Dec 2014 11:13:13 +0100 |
parents | 90257dfad6e3 |
children |
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.hpp Thu Dec 04 14:34:11 2014 +0100 +++ b/src/share/vm/classfile/classFileParser.hpp Thu Dec 11 11:13:13 2014 +0100 @@ -75,6 +75,7 @@ Array<u2>* _inner_classes; Array<Klass*>* _local_interfaces; Array<Klass*>* _transitive_interfaces; + Annotations* _combined_annotations; AnnotationArray* _annotations; AnnotationArray* _type_annotations; Array<AnnotationArray*>* _fields_annotations; @@ -86,6 +87,8 @@ void set_class_generic_signature_index(u2 x) { _generic_signature_index = x; } void set_class_sde_buffer(char* x, int len) { _sde_buffer = x; _sde_length = len; } + void create_combined_annotations(TRAPS); + void init_parsed_class_attributes(ClassLoaderData* loader_data) { _loader_data = loader_data; _synthetic_flag = false; @@ -110,6 +113,7 @@ _inner_classes = NULL; _local_interfaces = NULL; _transitive_interfaces = NULL; + _combined_annotations = NULL; _annotations = _type_annotations = NULL; _fields_annotations = _fields_type_annotations = NULL; }