test/tools/doclint/MissingThrowsTest.java

Wed, 23 Oct 2013 07:50:04 +0200

author
jlahoda
date
Wed, 23 Oct 2013 07:50:04 +0200
changeset 2165
864dafc5ab7a
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8026861: Wrong LineNumberTable for variable declarations in lambdas
Summary: Setting or correcting positions for many trees produced by LambdaToMethod.
Reviewed-by: vromero, rfield

jjg@1455 1 /*
jjg@1455 2 * @test /nodynamiccopyright/
jjg@1465 3 * @bug 8004832
jjg@1465 4 * @summary Add new doclint package
jjg@1455 5 * @build DocLintTester
jjg@1455 6 * @run main DocLintTester -Xmsgs:-missing MissingThrowsTest.java
jjg@1455 7 * @run main DocLintTester -Xmsgs:missing -ref MissingThrowsTest.out MissingThrowsTest.java
jjg@1455 8 */
jjg@1455 9
jjg@1455 10 /** */
jjg@1455 11 public class MissingThrowsTest {
jjg@1455 12 /** */
jjg@1455 13 void missingThrows() throws Exception { }
jjg@1455 14 }

mercurial