This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
}
return null;
// adik: used by Java 9 ClassLoader when calling loadClass(Module module, String name) for unnamed module
// loading of package-info.class takes this path in Java 9
@Override
protected Class<?> findClass(String name) throws ClassNotFoundException {
int last = name.lastIndexOf('.');
if (last < 0) {
throw new ClassNotFoundException("Will not load classes from default package (" + name + ")"); // NOI18N
String pkg = name.substring(0, last);
return doLoadClass(pkg, name);
// look up the jars and return a resource based on a content of jars
public URL findResource(String name) {