test/tools/javac/generics/compat/CovariantCompat1.java
Print this page
*** 25,35 ****
* @test
* @bug 4836051
* @summary generics: non-generic code should be able to call covariant method
* @author gafter
*
! * @compile -source 1.5 CovariantCompat1.java
* @compile -source 1.4 CovariantCompat2.java
*/
class CovariantCompat1 {
static class A {
--- 25,35 ----
* @test
* @bug 4836051
* @summary generics: non-generic code should be able to call covariant method
* @author gafter
*
! * @compile CovariantCompat1.java
* @compile -source 1.4 CovariantCompat2.java
*/
class CovariantCompat1 {
static class A {