File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed
Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 2828import java .util .HashMap ;
2929import java .util .Map ;
3030
31- import sun .reflect .CallerSensitive ;
32- import sun .reflect .Reflection ;
31+ // import sun.reflect.CallerSensitive;
32+ // import sun.reflect.Reflection;
3333
3434import org .cprover .CProver ;
3535import org .cprover .CProverString ;
@@ -179,16 +179,17 @@ public String getName() {
179179 * @see SecurityManager#checkPermission
180180 * @see java.lang.RuntimePermission
181181 */
182- @ CallerSensitive
182+ // @CallerSensitive
183183 public ClassLoader getClassLoader () {
184- ClassLoader cl = getClassLoader0 ();
185- if (cl == null )
186- return null ;
187- SecurityManager sm = System .getSecurityManager ();
188- if (sm != null ) {
189- ClassLoader .checkClassLoaderPermission (cl , Reflection .getCallerClass ());
190- }
191- return cl ;
184+ // ClassLoader cl = getClassLoader0();
185+ // if (cl == null)
186+ // return null;
187+ // SecurityManager sm = System.getSecurityManager();
188+ // if (sm != null) {
189+ // ClassLoader.checkClassLoaderPermission(cl, Reflection.getCallerClass());
190+ // }
191+ // return cl;
192+ return null ;
192193 }
193194
194195 ClassLoader getClassLoader0 () {
Original file line number Diff line number Diff line change 2626package java .lang ;
2727import java .util .Random ;
2828
29- import sun .misc .FloatConsts ;
30- import sun .misc .DoubleConsts ;
29+ // import sun.misc.FloatConsts;
30+ // import sun.misc.DoubleConsts;
3131
3232import org .cprover .CProver ;
3333
You can’t perform that action at this time.
0 commit comments