hg: jdk9/dev/langtools: 8065986: Compiler fails to NullPointerException when calling super with Object<>()

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Nov 28 11:53:00 UTC 2014


Changeset: caa3490d5aee
Author:    mcimadamore
Date:      2014-11-28 11:45 +0000
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/caa3490d5aee

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/jdk.compiler/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 jdk9-dev-changes mailing list