Fri, 05 Jul 2013 11:04:22 +0100
8016702: use of ternary operator in lambda expression gives incorrect results
Summary: Constant types erroneously creep in during inference
Reviewed-by: jjg, vromero
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8004832
4 * @summary Add new doclint package
5 * @build DocLintTester
6 * @run main DocLintTester -Xmsgs:-syntax EmptySinceTest.java
7 * @run main DocLintTester -Xmsgs:syntax -ref EmptySinceTest.out EmptySinceTest.java
8 */
10 /** . */
11 public class EmptySinceTest {
12 /** @since */
13 int emptySince() { }
14 }