< prev index next >
test/langtools/tools/javac/mixedTarget/ExtendCovariant2.java
Print this page
@@ -25,11 +25,10 @@
* @test
* @bug 5009712
* @summary Ensure Covariant Return Type allowed in minimum supported version
* @author gafter
*
- * @compile -source 1.6 ExtendCovariant2.java
* @compile ExtendCovariant2.java
*/
/**
* java.io.PrintStream java.io.PrintStream.append(char)
@@ -38,11 +37,11 @@
*
* java.lang.Appendable java.lang.Appendable.append(char)
*
* With JDK 1.5, a Covariant Return is allowed so check that is the case.
*
- **/
+ */
public class ExtendCovariant2 extends java.io.PrintStream {
ExtendCovariant2() throws java.io.IOException {
super("");
}
public java.io.PrintStream append(char c) {
< prev index next >