test/tools/javac/generics/wildcards/AssignmentDifferentTypes3.java
Print this page
*** 23,33 ****
/*
* @test
* @summary Test subtyping for wildcards with related type bounds.
*
! * @compile/fail -source 1.5 AssignmentDifferentTypes3.java
*/
public class AssignmentDifferentTypes3 {
public static void main(String[] args) {
--- 23,33 ----
/*
* @test
* @summary Test subtyping for wildcards with related type bounds.
*
! * @compile/fail AssignmentDifferentTypes3.java
*/
public class AssignmentDifferentTypes3 {
public static void main(String[] args) {