hg: jdk9/dev/langtools: 8170410: inference: javac doesn't implement 18.2.5 correctly

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Dec 5 19:01:09 UTC 2016


Changeset: 8fc0a7bf47a9
Author:    mcimadamore
Date:      2016-12-05 19:00 +0000
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/8fc0a7bf47a9

8170410: inference: javac doesn't implement 18.2.5 correctly
Summary: javac does not generate constraints of the kind 'throws alpha' as described in the spec
Reviewed-by: vromero, dlsmith

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/8170410/T8170410.java



More information about the jdk9-dev-changes mailing list