diff --git a/neutrino-core/src/test/java/fun/asgc/neutrino/core/aop/compiler/AsgcCompilerTest.java b/neutrino-core/src/test/java/fun/asgc/neutrino/core/aop/compiler/AsgcCompilerTest.java index 5994e036..83ae61df 100644 --- a/neutrino-core/src/test/java/fun/asgc/neutrino/core/aop/compiler/AsgcCompilerTest.java +++ b/neutrino-core/src/test/java/fun/asgc/neutrino/core/aop/compiler/AsgcCompilerTest.java @@ -122,7 +122,7 @@ public class AsgcCompilerTest { */ @Test public void compileAndLoadClass5() throws Exception { - JarLauncher jarLauncher = new JarLauncher("/Users/yangwen/my/tmp/java/asgc-package-lab2.jar"); + JarLauncher jarLauncher = new JarLauncher(AsgcCompilerTest.class.getResource("/asgc-package-lab2.jar").getPath()); AsgcCompiler compiler = new AsgcCompiler(jarLauncher.createClassLoader()); String code = "package a.b;\n" + "import fun.asgc.lab.pkg.lab2.Console;\n" +