JDK-4861624 : generics: variance: multidimensional array subtyping
  • Type: Enhancement
  • Component: specification
  • Sub-Component: language
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2003-05-09
  • Updated: 2006-12-06
  • Resolved: 2006-12-06
Related Reports
Relates :  
Description
With variant generics, this:

    String[][] a = new String[1][2];

gives an "unsafe" warning.  Can we adjust the type system to allow this
without a diagnostic?

Comments
EVALUATION Variance has been abandoned. Not an issue unless we ever reinstate it for arrays (unlikely). ###@###.### 2004-06-03
03-06-2004