From eb547b9bf7467a4f46bc17337270e3215bb0fd4f Mon Sep 17 00:00:00 2001 From: 4ra1n <2023503307@qq.com> Date: Fri, 2 Aug 2024 00:52:21 +0800 Subject: [PATCH] JNI FIX --- src/main/java/me/n1ar4/jar/obfuscator/utils/JNIUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/n1ar4/jar/obfuscator/utils/JNIUtil.java b/src/main/java/me/n1ar4/jar/obfuscator/utils/JNIUtil.java index b528dad..748c95d 100644 --- a/src/main/java/me/n1ar4/jar/obfuscator/utils/JNIUtil.java +++ b/src/main/java/me/n1ar4/jar/obfuscator/utils/JNIUtil.java @@ -1,6 +1,7 @@ package me.n1ar4.jar.obfuscator.utils; import me.n1ar4.jar.obfuscator.Const; +import me.n1ar4.jar.obfuscator.jvmti.Constants; import java.io.ByteArrayOutputStream; import java.io.InputStream; @@ -83,7 +84,7 @@ public static boolean extractDllSo(String filename, String dir, boolean load) { return false; } if (dir == null || dir.isEmpty()) { - dir = Const.TEMP_DIR; + dir = Constants.TempDir; } Path targetDir = Paths.get(dir); Path outputFile;