< prev index next >

src/hotspot/share/oops/instanceKlass.hpp

Print this page

        

@@ -477,13 +477,15 @@
 
   // permitted subclasses
   Array<u2>* permitted_subclasses() const     { return _permitted_subclasses; }
   void set_permitted_subclasses(Array<u2>* s) { _permitted_subclasses = s; }
 
+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.
< prev index next >