import java.security.ProtectionDomain;
import java.util.WeakHashMap;
class AccessClassLoader extends ClassLoader {
static private final WeakHashMap<ClassLoader, WeakReference<AccessClassLoader>> accessClassLoaders = new WeakHashMap();
static private final ClassLoader selfContextParentClassLoader = getParentClassLoader(AccessClassLoader.class);
<BUG>static private volatile AccessClassLoader selfContextAccessClassLoader = new AccessClassLoader(selfContextParentClassLoader);
static AccessClassLoader get (Class type) {</BUG>
ClassLoader parent = getParentClassLoader(type);
if (selfContextParentClassLoader.equals(parent)) {
if (selfContextAccessClassLoader == null) {

import java.security.ProtectionDomain;
import java.util.WeakHashMap;
class AccessClassLoader extends ClassLoader {
static private final WeakHashMap<ClassLoader, WeakReference<AccessClassLoader>> accessClassLoaders = new WeakHashMap();
static private final ClassLoader selfContextParentClassLoader = getParentClassLoader(AccessClassLoader.class);
static private volatile AccessClassLoader selfContextAccessClassLoader = new AccessClassLoader(selfContextParentClassLoader);
static private volatile Method defineClassMethod;
static AccessClassLoader get (Class type) {
ClassLoader parent = getParentClassLoader(type);
if (selfContextParentClassLoader.equals(parent)) {
if (selfContextAccessClassLoader == null) {
