()
| 2194 | } |
| 2195 | |
| 2196 | static public ClassLoader baseLoader(){ |
| 2197 | if(Compiler.LOADER.isBound()) |
| 2198 | return (ClassLoader) Compiler.LOADER.deref(); |
| 2199 | else if(booleanCast(USE_CONTEXT_CLASSLOADER.deref())) |
| 2200 | return Thread.currentThread().getContextClassLoader(); |
| 2201 | return Compiler.class.getClassLoader(); |
| 2202 | } |
| 2203 | |
| 2204 | static public InputStream resourceAsStream(ClassLoader loader, String name){ |
| 2205 | if (loader == null) { |
no test coverage detected