File tree Expand file tree Collapse file tree
src/main/java/org/glavo/lwjgl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232import static java .lang .constant .ConstantDescs .*;
3333
3434public final class UnsafeAgent {
35- private static final String MEMORY_UTIL_CLASS = "org/lwjgl/system/MemoryUtil" ;
36- private static final ClassDesc CD_Unsafe = ClassDesc .of ("jdk.internal.misc.Unsafe" );
3735
3836 private static void log (String msg , PrintStream out ) {
3937 out .println ("[lwjgl-unsafe-agent] " + msg );
@@ -54,6 +52,8 @@ private static void init(Instrumentation inst) {
5452 }
5553
5654 private static final class MemoryUtilTransformer implements ClassFileTransformer {
55+ private static final String MEMORY_UTIL_CLASS = "org/lwjgl/system/MemoryUtil" ;
56+ private static final ClassDesc CD_Unsafe = ClassDesc .of ("jdk.internal.misc.Unsafe" );
5757
5858 private final Instrumentation instrumentation ;
5959
You can’t perform that action at this time.
0 commit comments