Home
last modified time | relevance | path

Searched refs:isClassAccessible (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/sun/invoke/util/
DVerifyAccessTest.java34 assertFalse(VerifyAccess.isClassAccessible(Inner1.class, Inner2.class, 0)); in testIsClassAccessible()
37 assertTrue(VerifyAccess.isClassAccessible(Inner1.class, Inner2.class, in testIsClassAccessible()
39 assertTrue(VerifyAccess.isClassAccessible(Inner1.class, Sibling.class, in testIsClassAccessible()
43 assertTrue(VerifyAccess.isClassAccessible(String.class, Inner1.class, in testIsClassAccessible()
/libcore/ojluni/src/main/java/sun/invoke/util/
DVerifyAccess.java94 if (!isClassAccessible(refc, lookupClass, allowedModes)) { in isMemberAccessible()
157 public static boolean isClassAccessible(Class<?> refc, Class<?> lookupClass, in isClassAccessible() method in VerifyAccess
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java648 … && !VerifyAccess.isClassAccessible(requestedLookupClass, this.lookupClass, allowedModes)) { in in()
1634 classOK = (VerifyAccess.isClassAccessible(defc, lookupClass(), ALL_MODES) && in accessFailedMessage()
1636 VerifyAccess.isClassAccessible(refc, lookupClass(), ALL_MODES))); in accessFailedMessage()