--- ../netbeans/src/netbinox/src/org/netbeans/modules/netbinox/NetbinoxLoader.java 2013-02-12 11:44:19.019677456 -0800 +++ /ade/svassile_mann/netbeans/src/netbinox/src/org/netbeans/modules/netbinox/NetbinoxLoader.java 2012-11-12 07:29:01.000000000 -0800 @@ -43,12 +43,8 @@ import java.io.File; import java.io.IOException; - -import java.lang.reflect.Method; - import java.net.URI; import java.net.URISyntaxException; - import java.security.ProtectionDomain; import java.util.logging.Level; import org.eclipse.osgi.baseadaptor.BaseData; @@ -66,19 +62,6 @@ * @author Jaroslav Tulach */ final class NetbinoxLoader extends DefaultClassLoader { - static { - boolean typeParallel = "parallel".equals(System.getProperty("osgi.classloader.type", "parallel")); //$NON-NLS-1$ - try { - if (typeParallel) { - Method parallelCapableMetod = ClassLoader.class.getDeclaredMethod("registerAsParallelCapable", (Class[]) null); //$NON-NLS-1$ - parallelCapableMetod.setAccessible(true); - parallelCapableMetod.invoke(null, (Object[]) null); - } - } catch (Throwable e) { - // recover. this is a bad place to fail. - ; - } - } public NetbinoxLoader(ClassLoader parent, ClassLoaderDelegate delegate, ProtectionDomain domain, BaseData bd, String[] classpath) { super(parent, delegate, domain, bd, classpath); this.manager = new NoTouchCPM(bd, classpath, this);