Closed GoogleCodeExporter closed 9 years ago
I was able to capture the error being thrown by checker framework:
error: SourceChecker.typeProcess: unexpected Throwable (CompletionFailure)
while processing
c:\git\trask\checker-quiet-failure-repro\src\main\java\Test.java; message:
class file for javax.annotation.Nullable not found
Compilation unit: d:\git\trask\checker-quiet-failure-repro\src\main\java\Test.java
Exception: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for javax.annotation.Nullable not found; no stack trace available.
Original comment by trask.st...@gmail.com
on 24 Dec 2014 at 3:54
This appears to be the same as issue 309, but dealing with inheriting
declaration annotations.
AnnotatedTypeFactory 2320 will throw a CompletionFailure exception when trying
to look up the annotations for javax.annotations.Nullable.
Attached is a repro.
unzip repro.zip
javac lib/*.java
jar -cvf lib.jar lib/MyLibrary.class lib/MyLibrarySuper.class
javac -processor org.checkerframework.checker.nullness.NullnessChecker
MyTests.java
Original comment by mcart...@cs.washington.edu
on 21 Jan 2015 at 9:29
Attachments:
Original comment by Suzanne....@gmail.com
on 26 Jan 2015 at 11:38
Fixed by this commit:
https://code.google.com/p/checker-framework/source/detail?r=4852b48ace83
Original comment by Suzanne....@gmail.com
on 26 Jan 2015 at 11:40
Fixed in release 1.8.10 of the Checker Framework.
Original comment by mcart...@cs.washington.edu
on 30 Jan 2015 at 10:57
Original issue reported on code.google.com by
trask.st...@gmail.com
on 27 Aug 2014 at 7:11