RFR: JDK-8207224: Javac compiles source code despite illegal use of unchecked conversions

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Dec 3 11:15:53 UTC 2018


Separately,
I think this difference was probably the main one between 
returnTypeSubstitutable and resultSubtype/covariantReturnType... I think 
we should we try and merge them?

Maurizio

On 03/12/2018 03:46, Liam Miller-Cushon wrote:
> On Sun, Dec 2, 2018 at 6:24 PM Vicente Romero 
> <vicente.romero at oracle.com <mailto:vicente.romero at oracle.com>> wrote:
>
>     Yes the change you found is an expected result of the fix.
>
>
> Thanks for confirming,
>
>     If the number of rejected examples is not big I think that we
>     could go on with the fix. Eclipse compiler should be rejecting
>     that code too.
>
>
> I only found a very small number, proceeding with the fix SGTM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20181203/e805f5fa/attachment.html>


More information about the compiler-dev mailing list