hg: jdk9/dev/langtools: 8164399: inference of thrown variable does not work correctly

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Aug 25 10:51:41 UTC 2016


Changeset: 34dea0a7b9ab
Author:    mcimadamore
Date:      2016-08-25 11:51 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/34dea0a7b9ab

8164399: inference of thrown variable does not work correctly
Summary: Logic for inferring thrown variables should exclude non proper bounds as per JLS 18.1
Reviewed-by: vromero, dlsmith

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/8164399/T8164399.java
+ test/tools/javac/generics/inference/8164399/T8164399b.java
+ test/tools/javac/generics/inference/8164399/T8164399b.out



More information about the jdk9-dev-changes mailing list