Lines Matching defs:to
8 * particular file as subject to the "Classpath" exception as provided
18 * 2 along with this work; if not, write to the Free Software Foundation,
48 * Ensures that access to a method or field is granted and throws
50 * access to constructors.
58 * @throws IllegalAccessException if access to member is denied
59 * @implNote Delegates directly to
82 * @param m the {@code Member} about to be accessed
144 * available and the caller attempts to load a class on behalf
188 * access from a class loader 'from' to classes or members in
189 * a class defined by class loader 'to'. This method returns true
190 * if 'from' is not the same as or an ancestor of 'to'. All code
194 * attempts to access system domain classes, it requires package
197 public static boolean needsPackageAccessCheck(ClassLoader from, ClassLoader to) {
198 if (from == null || from == to)
201 if (to == null)
204 return !isAncestor(from, to);
275 * @param method an interface method dispatched to a InvocationHandler
319 * (not to be confused with a Java Language anonymous inner class).