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.
if (theHost == null) {
throw new IllegalStateException("Missing hosting module " + fragmentHost + " for fragment " + m.getCodeName());
}
if (!theHost.isEnabled()) {
return null;
return theHost.getClassLoader();
// so the dependent modules are enabled before the host+fragment merged
// classloader will activate
Collection<Module> frags = fragments.get(m1.getCodeNameBase());
if (frags != null) {
if (frags != null && !frags.isEmpty()) {
frags = new HashSet<>(frags);
frags.retainAll(modules);
l.remove(m1);
if (l != null) {
m.put(m1, l);