langtools/test/tools/javac/generics/diamond/neg/Neg15.java
changeset 36273 a19af5725d76
parent 29776 984a79b71cfe
equal deleted inserted replaced
36272:950bd442a822 36273:a19af5725d76
     1 /*
     1 /*
     2  * @test /nodynamiccopyright/
     2  * @test /nodynamiccopyright/
     3  * @bug 8062373
     3  * @bug 8062373 8151018
     4  *
     4  *
     5  * @summary  Test that javac complains when a <> inferred class contains a public method that does override a supertype method.
     5  * @summary  Test that javac complains when a <> inferred class contains a public method that does override a supertype method.
     6  * @author sadayapalam
     6  * @author sadayapalam
     7  * @compile/fail/ref=Neg15.out Neg15.java -XDrawDiagnostics
     7  * @compile/fail/ref=Neg15.out Neg15.java -XDrawDiagnostics
     8  *
     8  *