You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use junit4git with junit5 on my jvm 17 project and it seems the the classpath context of my application doesn't pass to the agent's thread and I am getting many of the following error:
ERROR org.walkmod.junit4git.core.bytecode.AgentClassTransformer - Error instrumenting ${myAppClass}
javassist.NotFoundException: ${myAppClass}
at javassist.ClassPool.get(ClassPool.java:430)
at org.walkmod.junit4git.javassist.JavassistUtils.instrumentClassWithStaticStmt(JavassistUtils.java:72)
at org.walkmod.junit4git.core.bytecode.AgentClassTransformer.instrumentClass(AgentClassTransformer.java:95)
at org.walkmod.junit4git.core.bytecode.AgentClassTransformer.transform(AgentClassTransformer.java:78)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
The text was updated successfully, but these errors were encountered:
I tried to use junit4git with junit5 on my jvm 17 project and it seems the the classpath context of my application doesn't pass to the agent's thread and I am getting many of the following error:
The text was updated successfully, but these errors were encountered: