-
Notifications
You must be signed in to change notification settings - Fork 52
RuntimeException reading from jar #6
Copy link
Copy link
Open
Description
I get an exception when trying to instrument a jar file:
$ java -cp ../../instrumentor/build/libs/kelinci.jar edu.cmu.sv.kelinci.instrumentor.Instrumentor -i example.jar -o example-instrumented.jar
Exception in thread "main" java.lang.RuntimeException: Error reading from JAR file: org/exmaple/other/some.jar
at edu.cmu.sv.kelinci.instrumentor.JarFileIO.extractJar(JarFileIO.java:107)
at edu.cmu.sv.kelinci.instrumentor.JarFileIO.extractJar(JarFileIO.java:99)
at edu.cmu.sv.kelinci.instrumentor.Options.getInput(Options.java:40)
at edu.cmu.sv.kelinci.instrumentor.Instrumentor.main(Instrumentor.java:43)
It seems that the jar file can not be properly extracted. Could you maybe add the same behavior here, so that if it can not be extracted, instrumentation is skipped and the jar used as-is? That would be super cool.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels