make/test/HelloWorld.apt.gold.txt

Mon, 31 Mar 2014 21:27:25 +0200

author
jlahoda
date
Mon, 31 Mar 2014 21:27:25 +0200
changeset 2355
4f7d19235357
parent 0
959103a6100f
permissions
-rw-r--r--

8035890: jdk8 javac -source 7 compiles test case it should not
Summary: Ensuring source level checks are performed in two additional cases related to type annotations, adding specialized error message for annotations after method type parameters.
Reviewed-by: jfranck, jjg

     2 /**
     3  * This class is used to test the results of the langtools build.
     4  */
     5 public class HelloWorld {
     7   public HelloWorld();
     9   /**
    10    * The old standby!
    11    * @param args The parameters are ignored.
    12    */
    13   public static void main(java.lang.String... args);
    15   /**
    16    * This declaration is for the benefit of javah tests.
    17    */
    18   public native void test();
    19 }

mercurial