test/langtools/tools/javac/diags/examples/DiamondAndAnonClass.java
changeset 48054 702043a4cdeb
parent 47216 71c04702a3d5
child 51101 babe5786dea9
equal deleted inserted replaced
48053:6dcbdc9f99fc 48054:702043a4cdeb
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 // key: compiler.misc.diamond.and.anon.class.not.supported.in.source
    24 // key: compiler.misc.feature.not.supported.in.source
       
    25 // key: compiler.misc.feature.diamond.and.anon.class
    25 // key: compiler.err.cant.apply.diamond.1
    26 // key: compiler.err.cant.apply.diamond.1
    26 // key: compiler.warn.source.no.bootclasspath
    27 // key: compiler.warn.source.no.bootclasspath
    27 // options: -source 8
    28 // options: -source 8
    28 
    29 
    29 import java.util.*;
    30 import java.util.*;