diff --git a/hotfix/src/main/java/com/ljsd/jieling/hotfix/JavaAgent.java b/hotfix/src/main/java/com/ljsd/jieling/hotfix/JavaAgent.java index e62b819e2..8414c37b2 100644 --- a/hotfix/src/main/java/com/ljsd/jieling/hotfix/JavaAgent.java +++ b/hotfix/src/main/java/com/ljsd/jieling/hotfix/JavaAgent.java @@ -70,7 +70,7 @@ public class JavaAgent { public static void agentmain(String args,Instrumentation inst){ try{ writeLog("argsxxxxxxxxxx=:[" + args + "]"); - writeLog("argsxxxxxxxxxxyyy=:[" + args + "]"); + writeLog("argsxxxxxxxxxxyyy=:[" + JavaAgent.class.getResource("").getPath() + "]"); File f = new File(args); byte[] targetClassFile = new byte[(int)f.length()]; DataInputStream dis = new DataInputStream(new FileInputStream(f));