RFR: JDK-8207320: Wrong type order for intersection lambdas with multiple abstract methods

Vicente Romero vicente.romero at oracle.com
Wed Aug 15 15:04:00 UTC 2018


Please review the fix for [1] at [2]. The fix is modifying the way 
intersection types are erased. Javac erases an intersection type to its 
first component, but it is not always the right choice. This patch fixes 
that issue. As an additional information please check Dan's comments in 
the bug entry,

Thanks,
Vicente

[1] https://bugs.openjdk.java.net/browse/JDK-8207320
[2] http://cr.openjdk.java.net/~vromero/8207320/webrev.00/jdk.dev.patch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180815/5bd0f2b4/attachment.html>


More information about the compiler-dev mailing list