Bug: backward compatibility breaking compiler bug with generics/rawtypes
Daniel Heinrich
daniel.heinrich.02 at gmail.com
Thu Oct 2 15:49:56 UTC 2014
Hi,
this is my first time writing to an OpenJDK mailing list, so excuse me if
this is the wrong list.
I found a compiler bug which does not only breaks backward compatibility,
but also compiles wrong code.
You can find a very minimal code which produces the error in this gist:
https://gist.github.com/Danny02/55f6554e48a65b3a73fa
or in the attached file.
I hope the comments in the code are enough to explain the problem, if not I
will answer all questions which might come up.
I compiled the code with the Oracle JDK 8_20 on Windows 7. I also checked
that the code works with JDK 7.
Best regards,
Daniel Heinrich
More information about the jdk8u-dev
mailing list