Closed GoogleCodeExporter closed 9 years ago
Thanks for the bug report!
This is a langtools bug and not caused by the Checker Framework.
Minimal test case that crashes jdk9 javac:
import java.lang.annotation.*;
class TestIssue344 {
public void foo() {
try {
return;
} catch (@TA Exception e) {
}
}
}
@Target(ElementType.TYPE_USE)
@interface TA {}
Note that this test works with jdk8 javac and if TA is a declaration annotation.
There were some big type annotation refactorings in jdk9 and something broke.
Thanks for finding this!
I'll file a bug report.
Original comment by wdi...@gmail.com
on 8 Aug 2014 at 3:19
I reported the bug on a compiler mailing list.
I've fixed the URL for the bug reporting instructions.
Original comment by wdi...@gmail.com
on 9 Aug 2014 at 5:22
Original issue reported on code.google.com by
pbsf...@gmail.com
on 7 Aug 2014 at 8:29