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.
In the bootstrap module, org.netbeans.NetigsoLoader overrides the ClassLoader's loadClass(String) method to delegate to other classloader. This does not work when the NetigsoLoader is used as a parent classloader - because java.lang.ClassLoader calls parent.loadClass(name, false), i.e. the other loadClass method that is not overriden in NetigsoLoader. This causes a problem in JDev when trying to load classes from NetBeans modules wrapped as OSGi bundles.
I have not managed to simulate the problem with an OSGi container. However I created direct unit test to verify loadClass(String,boolean) delegates correctly. ergonomics#cdab9728b41a
Integrated into 'main-silver', will be available in build *201309010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cdab9728b41a User: Jaroslav Tulach <jtulach@netbeans.org> Log: #234033: Delegate loadClass(String,boolean)