< prev index next >

src/hotspot/share/runtime/reflection.hpp

Print this page
rev 50606 : imported patch jep181-rev3

@@ -88,16 +88,17 @@
   // This function must be called from within a block containing a ResourceMark.
   static char*    verify_class_access_msg(const Klass* current_class,
                                           const InstanceKlass* new_class,
                                           const VerifyClassAccessResults result);
 
-  static bool     verify_field_access(const Klass* current_class,
+  static bool     verify_member_access(const Klass* current_class,
                                       const Klass* resolved_class,
-                                      const Klass* field_class,
+                                       const Klass* member_class,
                                       AccessFlags access,
                                       bool classloader_only,
-                                      bool protected_restriction = false);
+                                       bool protected_restriction,
+                                       TRAPS);
   static bool     is_same_class_package(const Klass* class1, const Klass* class2);
 
   // inner class reflection
   // raise an ICCE unless the required relationship can be proven to hold
   // If inner_is_member, require the inner to be a member of the outer.
< prev index next >