hg: jdk9/sandbox/langtools: 8039214: Inference should not map capture variables to their upper bounds

chris.hegarty at oracle.com chris.hegarty at oracle.com
Sat Feb 21 04:35:32 UTC 2015


Changeset: 414b82835861
Author:    dlsmith
Date:      2015-02-20 17:05 -0700
URL:       http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/414b82835861

8039214: Inference should not map capture variables to their upper bounds
Summary: Update to Types.containsType; related adjustment to most-specific test
Reviewed-by: mcimadamore, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/inference/CaptureLowerBound.java
+ test/tools/javac/generics/inference/CaptureLowerBoundNeg.java
+ test/tools/javac/generics/inference/CaptureLowerBoundNeg.out
+ test/tools/javac/generics/inference/NestedCapture.java
+ test/tools/javac/generics/inference/NestedWildcards.java
+ test/tools/javac/generics/wildcards/SubtypeCaptureLeak.java



More information about the jdk9-sandbox-changes mailing list