JDK-5034609 : Capture conversion implementation breaks a cast test
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8,windows_2000
  • CPU: generic,x86
  • Submitted: 2004-04-20
  • Updated: 2005-12-30
  • Resolved: 2005-12-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6Resolved
Related Reports
Duplicate :  
Description
The following test case, from
    test/tools/javac/generics/wildcards/pos/CastTest.java line 122
fails under the recent capture conversion implementation:

     1  interface DA<T> { }
     2  interface DB<T> extends DA<T> { }
     3  interface DC<T> extends DA<Integer> { }
     4
     5  class Main {
     6      Object o = (DC<?>) (DA<?>) null; // <<pass>>
     7  }

Comments
EVALUATION Not reproducible in 5.0u4
04-08-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: dragon mustang
07-09-2004

EVALUATION Not urgent, but it is a bug. ###@###.### 2004-04-21
21-04-2004