test/tools/javac/T7090499.java

Mon, 01 Jun 2015 15:19:54 -0700

author
darcy
date
Mon, 01 Jun 2015 15:19:54 -0700
changeset 3834
45746e46893b
parent 0
959103a6100f
permissions
-rw-r--r--

8075546: Add tiered testing definitions to the langtools repo
Reviewed-by: jjg

     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