hg: jdk8u/jdk8u/langtools: 2 new changesets

rob.mckenna at oracle.com rob.mckenna at oracle.com
Mon Nov 16 02:30:00 UTC 2015


Changeset: dcd12fa5b58a
Author:    mcimadamore
Date:      2015-11-12 21:20 +0000
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/dcd12fa5b58a

8066974: Compiler doesn't infer method's generic type information in lambda body
Summary: Add logic to avoid post-inference triggers on temporarty AST types
Reviewed-by: vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/lambda/8066974/T8066974.java
+ test/tools/javac/lambda/8066974/T8066974.out

Changeset: 0caab0d65a04
Author:    mcimadamore
Date:      2015-11-12 22:10 +0000
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/rev/0caab0d65a04

8065986: Compiler fails to NullPointerException when calling super with Object<>()
Summary: Missing POLY kind selector on recursive constructor calls with poly arguments
Reviewed-by: vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/diamond/8065986/T8065986a.java
+ test/tools/javac/generics/diamond/8065986/T8065986a.out
+ test/tools/javac/generics/diamond/8065986/T8065986b.java
+ test/tools/javac/generics/diamond/8065986/T8065986b.out



More information about the jdk8u-changes mailing list