test/tools/javac/BadCovar.java

Print this page

        

*** 25,35 **** * @test * @bug 5007379 * @summary Compiler allows inheritance of multiple methods with unrelated return types * @author gafter * ! * @compile/fail -source 1.5 BadCovar.java */ package bad.covar; import java.util.*; --- 25,35 ---- * @test * @bug 5007379 * @summary Compiler allows inheritance of multiple methods with unrelated return types * @author gafter * ! * @compile/fail BadCovar.java */ package bad.covar; import java.util.*;