hg: valhalla/valhalla/langtools: Unify code paths for type-argument bound-checking.

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Jul 15 17:42:38 UTC 2014


Changeset: f0d0dd18b996
Author:    mcimadamore
Date:      2014-07-15 18:37 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f0d0dd18b996

Unify code paths for type-argument bound-checking.
* All bound-checking code is now done in Check - this includes generic type well-formedness AND explicit method type-argument checks
* Completely overhauled logic for bound check. Code is now more general and reusable
* Changed source/target version of bootstrap compiler to allow lambda support

! make/build.properties
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/util/List.java
! src/share/classes/com/sun/tools/javac/util/Pair.java
! test/tools/javac/generics/typevars/6968793/T6968793.out




More information about the valhalla-dev mailing list