ClassLoader (Location location) { // ensure processor's loader will not resolve against JPS classes and libraries used in JPS final ClassLoader loader = LazyClassLoader.createFrom(getLocation(location), myContext.getStandardFileManager().getClass().getClassLoader()); if (loader instanceof Closeable) { myCloseables.add((Closeable)loader); } return loader; }