Lines Matching defs:allowedModes
342 private final int allowedModes;
394 return (allowedModes == TRUSTED) ? null : lookupClass;
415 return allowedModes & ALL_MODES;
432 private Lookup(Class<?> lookupClass, int allowedModes) {
434 this.allowedModes = allowedModes;
463 if (allowedModes == TRUSTED) // IMPL_LOOKUP can make any lookup at all
467 int newModes = (allowedModes & (ALL_MODES & ~PROTECTED));
478 && !VerifyAccess.isClassAccessible(requestedLookupClass, this.lookupClass, allowedModes)) {
536 switch (allowedModes) {
550 cname = cname + "/" + Integer.toHexString(allowedModes);
1023 if (caller != null && !VerifyAccess.isClassAccessible(refc, caller, allowedModes))
1046 return (allowedModes & PRIVATE) != 0;
1072 if (allowedModes == TRUSTED) return;
1146 int allowedModes = this.allowedModes;
1147 if (allowedModes == TRUSTED) return;
1152 if (Modifier.isPublic(mods) && Modifier.isPublic(refc.getModifiers()) && allowedModes != 0)
1155 if ((requestedModes & allowedModes) != 0) {
1157 mods, lookupClass(), allowedModes))
1161 if ((requestedModes & PROTECTED) != 0 && (allowedModes & PACKAGE) != 0
1175 if (!classOK && (allowedModes & PACKAGE) != 0) {
1194 int allowedModes = this.allowedModes;
1195 if (allowedModes == TRUSTED) return;
1196 if ((allowedModes & PRIVATE) == 0
1208 || allowedModes == TRUSTED
1279 if (allowedModes == TRUSTED || !MethodHandleNatives.isCallerSensitive(method))
1282 if ((allowedModes & PRIVATE) == 0) // caller must use full-power lookup