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,
52 * due to a bug. We awkwardly work around it for now.
136 * available and the caller attempts to load a class on behalf
180 * access from a class loader 'from' to classes or members in
181 * a class defined by class loader 'to'. This method returns true
182 * if 'from' is not the same as or an ancestor of 'to'. All code
186 * attempts to access system domain classes, it requires package
189 public static boolean needsPackageAccessCheck(ClassLoader from, ClassLoader to) {
190 if (from == null || from == to)
193 if (to == null)
196 return !isAncestor(from, to);