test/tools/javac/T7090499.java

Mon, 23 Sep 2013 17:27:38 +0400

author
kizune
date
Mon, 23 Sep 2013 17:27:38 +0400
changeset 2048
809a50f24d6f
parent 0
959103a6100f
permissions
-rw-r--r--

7154966: CRs found to be in Fixed state with no test and no noreg- keyword.
Reviewed-by: ksrini

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 7090499
     4  * @summary missing rawtypes warnings in anonymous inner class
     5  * @compile/ref=T7090499.out -Xlint:rawtypes -XDrawDiagnostics T7090499.java
     6  */
     8 class T7090499<X> {
     9     {
    10         new Object() {
    11             T7090499 x;
    12         };
    13     }
    14 }

mercurial