< prev index next >

src/java.base/share/classes/java/lang/reflect/ReflectAccess.java

Print this page
@@ -124,10 +124,14 @@
  
      public boolean isTrustedFinalField(Field f) {
          return f.isTrustedFinal();
      }
  
+     public boolean isNullRestrictedField(Field f) {
+         return f.isNullRestricted();
+     }
+ 
      public <T> T newInstance(Constructor<T> ctor, Object[] args, Class<?> caller)
          throws IllegalAccessException, InstantiationException, InvocationTargetException
      {
          return ctor.newInstanceWithCaller(args, true, caller);
      }
< prev index next >