hg: jdk9/dev/langtools: 8148930: Incorrect erasure of exceptions in override-equivalent dual interface impl

srikanth.adayapalam at oracle.com srikanth.adayapalam at oracle.com
Mon Mar 7 13:19:14 UTC 2016


Changeset: f5991c73ed73
Author:    sadayapalam
Date:      2016-03-07 18:49 +0530
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/f5991c73ed73

8148930: Incorrect erasure of exceptions in override-equivalent dual interface impl
Summary: Before computing intersection of thrown types, javac must make sure type variables come from the same set.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/inference/CheckNoTimeoutException.java
+ test/tools/javac/generics/inference/IntersectThrownTypesTest.java
+ test/tools/javac/generics/inference/IntersectThrownTypesTest.out



More information about the jdk9-dev-changes mailing list