()
| 324 | return java.security.AccessController.doPrivileged |
| 325 | (new java.security.PrivilegedExceptionAction<sun.misc.Unsafe>() { |
| 326 | public sun.misc.Unsafe run() throws Exception { |
| 327 | Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class; |
| 328 | for (java.lang.reflect.Field f : k.getDeclaredFields()) { |
| 329 | f.setAccessible(true); |
| 330 | Object x = f.get(null); |
| 331 | if (k.isInstance(x)) |
| 332 | return k.cast(x); |
| 333 | } |
| 334 | throw new NoSuchFieldError("the Unsafe"); |
| 335 | }}); |
| 336 | } catch (java.security.PrivilegedActionException e) { |
| 337 | throw new RuntimeException("Could not initialize intrinsics", |
| 338 | e.getCause()); |
nothing calls this directly
no test coverage detected