Exception in thread "main" java.lang.RuntimeException: The following files could not be located: /Users/smillst/jsr308/checker-framework-inference/dist/checker-qual.jar
at org.checkerframework.framework.util.CheckerMain.assertFilesExist(CheckerMain.java:615)
at org.checkerframework.framework.util.CheckerMain.assertValidState(CheckerMain.java:124)
at org.checkerframework.framework.util.CheckerMain.<init>(CheckerMain.java:120)
at checkers.inference.InferenceLauncher.typecheck(InferenceLauncher.java:129)
at checkers.inference.InferenceLauncher.launch(InferenceLauncher.java:67)
at checkers.inference.InferenceLauncher.main(InferenceLauncher.java:105)
Then after coping checker-qual.jar to the correct location:
testdata/ostrusted/VarArgs.java:6: error: package ostrusted.qual does not exist
import ostrusted.qual.*;
^
testdata/ostrusted/VarArgs.java:40: error: cannot find symbol
void test5(List<@OsTrusted String>... args) {
^
symbol: class OsTrusted
location: class TestVarArgs<E>
where E is a type-variable:
E extends Object declared in class TestVarArgs
testdata/ostrusted/VarArgs.java:18: error: cannot find symbol
void test0(@OsTrusted String[]... args) {
^
symbol: class OsTrusted
location: class TestVarArgs<E>
where E is a type-variable:
E extends Object declared in class TestVarArgs
3 errors
Without these changes,
Issued the following errors:
Then after coping checker-qual.jar to the correct location: