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

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Aug 25 11:01:03 UTC 2016


Changeset: 34dea0a7b9ab
Author:    mcimadamore
Date:      2016-08-25 11:51 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/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-sandbox-changes mailing list