hg: valhalla/valhalla/langtools: Fix wildcards support:

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Aug 26 12:56:04 UTC 2014


Changeset: f34e4eb790d3
Author:    mcimadamore
Date:      2014-08-26 13:51 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f34e4eb790d3

Fix wildcards support:
* During capture conversion, lower bounded wildcards should use 'Object' as upper bound if corresponding tvar is 'any'
* Minor (similar) tweaks to Types.wildcardUpperBound
* add smoke test

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/valhalla/typespec/Wildcards01.java
+ test/tools/javac/valhalla/typespec/Wildcards01.out



More information about the valhalla-dev mailing list