--- old/src/share/vm/classfile/classFileParser.hpp 2015-12-05 15:20:03.418452235 +0100 +++ new/src/share/vm/classfile/classFileParser.hpp 2015-12-05 15:20:03.286452231 +0100 @@ -131,13 +131,15 @@ _method_LambdaForm_Compiled, _method_LambdaForm_Hidden, _method_HotSpotIntrinsicCandidate, + _method_Accessor_Method, _sun_misc_Contended, _field_Stable, _annotation_LIMIT }; const Location _location; - int _annotations_present; - u2 _contended_group; + int _annotations_present; + u2 _contended_group; + u2 _accessor_field_name; AnnotationCollector(Location location) : _location(location), _annotations_present(0) @@ -168,6 +170,12 @@ void set_stable(bool stable) { set_annotation(_field_Stable); } bool is_stable() const { return has_annotation(_field_Stable); } + + void set_accessor_field_name(u2 fname) { _accessor_field_name = fname; } + u2 accessor_field_name() { return _accessor_field_name; } + + bool is_accessor() const { return has_annotation(_method_Accessor_Method); } + }; // This class also doubles as a holder for metadata cleanup.