Strange covariant/generics downcasting issue with JDK8

Mark Derricutt mark at
Tue Nov 19 02:29:30 PST 2013

Hi Vicente,

Thanks for the detailed response as to the whats/hows/whys of the problem. I guess the result is now not a "can't reproduce" but more a "won't fix"? From memory one of the responses to Liam's reported issues was to document in the release notes what Java 8 is now more strict/correct with regards to badly mixed raw-types?


On 12 Nov 2013, at 10:13, Vicente-Arturo Romero-Zaldivar wrote:

> I have been studying the code and the jar you sent. Thanks a lot
>     for reducing the test case. The fact that this code works on 7 and
>     fails in 8 it's a bug in 7. Because of this bug, some programmers
>     may think that there is a regression in javac 8 provoking a
>     compatibility issue with javac 7. This has also been detected by
>     Liam Cushon who reported 3 cases related to this issue [1], a fact
>     that you also mentioned in a previous mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
Url : 

More information about the compiler-dev mailing list