()
| 2179 | |
| 2180 | |
| 2181 | static public ClassLoader makeClassLoader(){ |
| 2182 | return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction(){ |
| 2183 | public Object run(){ |
| 2184 | try{ |
| 2185 | Var.pushThreadBindings(RT.map(USE_CONTEXT_CLASSLOADER, RT.T)); |
| 2186 | // getRootClassLoader(); |
| 2187 | return new DynamicClassLoader(baseLoader()); |
| 2188 | } |
| 2189 | finally{ |
| 2190 | Var.popThreadBindings(); |
| 2191 | } |
| 2192 | } |
| 2193 | }); |
| 2194 | } |
| 2195 | |
| 2196 | static public ClassLoader baseLoader(){ |
| 2197 | if(Compiler.LOADER.isBound()) |