Bug: backward compatibility breaking compiler bug with generics/rawtypes

dalibor topic dalibor.topic at oracle.com
Mon Oct 20 17:34:17 UTC 2014


Hi,

please submit bug reports through bugs.java.com.

cheers,
dalibor topic

On 02.10.2014 17:49, Daniel Heinrich wrote:
> 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
>

-- 
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment


More information about the jdk8u-dev mailing list