code: public static BundleClassLoader newPriviledged( final Bundle bundle, final ClassLoader parent )
      {
          return AccessController.doPrivileged( new PrivilegedAction<BundleClassLoader>()
          {
              public BundleClassLoader run()
              {
                  return new BundleClassLoader( bundle, parent );
              }
          } );
      }
docs: Privileged factory method.
  
  @param bundle bundle to be used for class loading. Cannot be null.
  @param parent parent class loader
  
  @return created bundle class loader
  
  @see BundleClassLoader#BundleClassLoader(Bundle,ClassLoader)