< prev index next >

src/hotspot/share/oops/instanceKlass.hpp

Print this page

        

*** 200,212 **** // nest-host. Can also be set directly by JDK API's that establish nest // relationships. // By always being set it makes nest-member access checks simpler. InstanceKlass* _nest_host; - // Used to record a reason for nest-host resolution/validation failures. - const char* _nest_host_res_error; - // The contents of the Record attribute. Array<RecordComponent*>* _record_components; // the source debug extension for this klass, NULL if not specified. // Specified as UTF-8 string without terminating zero byte in the classfile, --- 200,209 ----
*** 488,500 **** private: // Called to verify that k is a member of this nest - does not look at k's nest-host bool has_nest_member(InstanceKlass* k, TRAPS) const; public: ! // Used to construct informative IllegalAccessError messages at a higher level. // Returns NULL if there was no error. ! const char* nest_host_resolution_error() { return _nest_host_res_error; } // Returns nest-host class, resolving and validating it if needed. // Returns NULL if resolution is not possible from the calling context. InstanceKlass* nest_host(TRAPS); // Check if this klass is a nestmate of k - resolves this nest-host and k's bool has_nestmate_access_to(InstanceKlass* k, TRAPS); --- 485,498 ---- private: // Called to verify that k is a member of this nest - does not look at k's nest-host bool has_nest_member(InstanceKlass* k, TRAPS) const; public: ! // Used to construct informative IllegalAccessError messages at a higher level, ! // if there was an issue resolving or validating the nest host. // Returns NULL if there was no error. ! const char* nest_host_error(TRAPS); // Returns nest-host class, resolving and validating it if needed. // Returns NULL if resolution is not possible from the calling context. InstanceKlass* nest_host(TRAPS); // Check if this klass is a nestmate of k - resolves this nest-host and k's bool has_nestmate_access_to(InstanceKlass* k, TRAPS);
< prev index next >