Searched refs:allowedModes (Results 1 – 3 of 3) sorted by relevance
89 int allowedModes) { in isMemberAccessible() argument90 if (allowedModes == 0) return false; in isMemberAccessible()91 assert((allowedModes & PUBLIC) != 0 && in isMemberAccessible()92 (allowedModes & ~(ALL_ACCESS_MODES|PACKAGE_ALLOWED)) == 0); in isMemberAccessible()94 if (!isClassAccessible(refc, lookupClass, allowedModes)) { in isMemberAccessible()99 (allowedModes & PRIVATE) != 0) in isMemberAccessible()106 if ((allowedModes & PROTECTED_OR_PACKAGE_ALLOWED) != 0 && in isMemberAccessible()109 if ((allowedModes & PROTECTED) == 0) in isMemberAccessible()117 if ((allowedModes & PROTECTED) != 0 && in isMemberAccessible()123 return ((allowedModes & PACKAGE_ALLOWED) != 0 && in isMemberAccessible()[all …]
512 private final int allowedModes; field in MethodHandles.Lookup587 return allowedModes & ALL_MODES; in lookupModes()601 private Lookup(Class<?> lookupClass, int allowedModes) { in Lookup() argument603 this.allowedModes = allowedModes; in Lookup()638 int newModes = (allowedModes & (ALL_MODES & ~PROTECTED)); in in()649 … && !VerifyAccess.isClassAccessible(requestedLookupClass, this.lookupClass, allowedModes)) { in in()672 private static void checkUnprivilegedlookupClass(Class<?> lookupClass, int allowedModes) { in checkUnprivilegedlookupClass() argument681 if (allowedModes == ALL_MODES && in checkUnprivilegedlookupClass()723 switch (allowedModes) { in toString()738 cname = cname + "/" + Integer.toHexString(allowedModes); in toString()[all …]
370 private Lookup(java.lang.Class<?> lookupClass, int allowedModes) { in Lookup() argument391 java.lang.Class<?> lookupClass, int allowedModes) { in checkUnprivilegedlookupClass() argument628 private final int allowedModes; field in MethodHandles.Lookup631 allowedModes = 0;