test/tools/javac/mixedTarget/ExtendCovariant2.java
Print this page
*** 26,36 ****
* @bug 5009712
* @summary 1.4 javac should not accept the Covariant Return Type
* @author gafter
*
* @compile/fail -source 1.4 ExtendCovariant2.java
! * @compile -source 1.5 ExtendCovariant2.java
*/
/**
* java.io.PrintStream java.io.PrintStream.append(char)
*
--- 26,36 ----
* @bug 5009712
* @summary 1.4 javac should not accept the Covariant Return Type
* @author gafter
*
* @compile/fail -source 1.4 ExtendCovariant2.java
! * @compile ExtendCovariant2.java
*/
/**
* java.io.PrintStream java.io.PrintStream.append(char)
*