--- old/src/share/vm/classfile/classFileParser.hpp 2019-01-28 17:43:18.000000000 +0800 +++ new/src/share/vm/classfile/classFileParser.hpp 2019-01-28 17:43:17.000000000 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -47,6 +47,7 @@ bool _relax_verify; u2 _major_version; u2 _minor_version; + u2 _this_class_index; Symbol* _class_name; ClassLoaderData* _loader_data; KlassHandle _host_klass; @@ -90,6 +91,7 @@ void create_combined_annotations(TRAPS); void init_parsed_class_attributes(ClassLoaderData* loader_data) { + _this_class_index = 0; _loader_data = loader_data; _synthetic_flag = false; _sourcefile_index = 0; @@ -486,6 +488,10 @@ bool verify, TRAPS); + u2 this_class_index() const { return _this_class_index; } + const ClassFileStream* clone_stream() const; + void set_klass_to_deallocate(InstanceKlass* klass); + // Verifier checks static void check_super_class_access(instanceKlassHandle this_klass, TRAPS); static void check_super_interface_access(instanceKlassHandle this_klass, TRAPS);