test/tools/javac/generics/wildcards/neg/Unbounded.java

Print this page

        

*** 25,35 **** * @test * @bug 4916607 * @summary an unbounded (bivariant) wildcard doesn't allow reading * @author gafter * ! * @compile/fail -source 1.5 Unbounded.java */ import java.util.Stack; class Bug { void f() { --- 25,35 ---- * @test * @bug 4916607 * @summary an unbounded (bivariant) wildcard doesn't allow reading * @author gafter * ! * @compile/fail Unbounded.java */ import java.util.Stack; class Bug { void f() {