ClassLoader () { // Check if we may return the system classloader <error descr="Cannot resolve symbol 'SecurityManager'">SecurityManager</error> sm = <error descr="Cannot resolve symbol 'SecurityManager'">SecurityManager</error>.current; if (sm != null) { ClassLoader cl = <error descr="Cannot resolve symbol 'VMStackWalker'">VMStackWalker</error>.getCallingClassLoader(); if (cl != null && cl != StaticData.systemClassLoader) sm.<error descr="Cannot resolve method 'checkPermission(RuntimePermission)'">checkPermission</error>(new <error descr="Cannot resolve symbol 'RuntimePermission'">RuntimePermission</error>("getClassLoader")); } return StaticData.systemClassLoader; }