test/tools/doclint/MissingCommentTest.java

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

author
jlahoda
date
Wed, 23 Oct 2013 07:50:04 +0200
changeset 2165
864dafc5ab7a
parent 0
959103a6100f
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

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @build DocLintTester
     4  * @run main DocLintTester -Xmsgs:-missing MissingCommentTest.java
     5  * @run main DocLintTester -Xmsgs:missing -ref MissingCommentTest.out MissingCommentTest.java
     6  */
     8 public class MissingCommentTest {
     9     MissingCommentTest() { }
    11     int missingComment;
    13     void missingComment() { }
    14 }

mercurial