Closed jonathan-m-phillips closed 2 weeks ago
This is caused by one of the same issues that I mentioned with #303:
Specimin assumes that the jar files in the --jarPath argument will also be on the classpath when compiling the output. So, add -cp "/path/to/checker-qual.jar" when you try to compile Specimin's output. This will resolve two of the three errors (the one about the package not existing and the symbol not found one).
I received this error,
error: package org.checkerframework.checker.nullness.qual does not exist
, 493 times when running ASHE on the CF's javacutil directory.The following target successfully minimized:
--args=--outputDirectory "my/temp/dir" --root "/my/root/checker-framework/javacutil/src" --targetFile "main/java/org/checkerframework/javacutil/AnnotationUtils.java" --targetMethod "org.checkerframework.javacutil.AnnotationUtils#annotationValueContainsToString(List<? extends AnnotationValue>, String)" --jarPath "/path/to/checker-qual.jar"
javac /my/temp/dir/main/java/org/checkerframework/javacutil/AnnotationUtils.java