-
Notifications
You must be signed in to change notification settings - Fork 52
Illegal Access Error #16
Description
Hi,
When I run java -cp ./instrumentor/build/libs/kelinci.jar edu.cmu.sv.kelinci.instrumentor.Instrumentor -i ../bin -o ../bin-instrumented I get the following error
Loading dir: ../bin Found file ../bin/sorting_algo/sorting.class Found file ../bin/Driver.class WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by edu.cmu.sv.kelinci.instrumentor.Options (file:/home/amit/dev-work/Cost_Model_NN/new_fuzzing/kelinci/instrumentor/build/libs/kelinci.jar) to method java.net.URLClassLoader.addURL(java.net.URL) WARNING: Please consider reporting this to the maintainers of edu.cmu.sv.kelinci.instrumentor.Options WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Exception in thread "main" java.lang.RuntimeException: Error adding location to class path: ../bin at edu.cmu.sv.kelinci.instrumentor.Options.addToClassPath(Options.java:62) at edu.cmu.sv.kelinci.instrumentor.Options.getInput(Options.java:46) at edu.cmu.sv.kelinci.instrumentor.Instrumentor.main(Instrumentor.java:43)
I have tried changing my JDK from 11 to 8 but I still get the same error. Any ideas on how to fix this?
Thanks