[8u] request for review: 8066974: Compiler doesn't infer method's generic type information in lambda body

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Nov 12 13:54:34 UTC 2015


Hi,
Please review the backport of bug:

JDK-8066974: Compiler doesn't infer method's generic type information in 
lambda body

JDK9 bug: https://bugs.openjdk.java.net/browse/JDK-8066974
original patch pushed to 9: 
http://hg.openjdk.java.net/jdk9/dev/langtools/rev/c402b2856ed1
public review: http://cr.openjdk.java.net/~mcimadamore/8066974/

The 9 patch doesn't apply cleanly to 8u because of the changes around 
the Kind.java class (which has been converted into an enum in 9), and 
also because of the patch uses lambda expressions. Changes are 
relatively superficial though.

Thanks,
Maurizio


More information about the jdk8u-dev mailing list