Strange covariant/generics downcasting issue with JDK8

Mark Derricutt mark at talios.com
Mon Sep 23 16:26:29 PDT 2013


On 24/09/2013, at 12:52 AM, Mario Torre <neugens.limasoftware at gmail.com> wrote:

> > AppTest.java -g -nowarn -target 1.5 -source 1.5
> 
> This looks like the cause, no?
> 
I had thought maybe as well, but I get the same issue with "-target 1.8 -source 1.8", and if javac no longer supports 1.5 I would have expected an "invalid source release" error earlier in the process.


-- Mark Derricutt ( mark at talios.com )
 — twitter: https://twitter.com/talios
 — podcast: http://www.illegalargument.com
 — blog: http://www.theoryinpractice.net
 — google+: http://gplus.to/talios



More information about the jdk8-dev mailing list