hg: valhalla/valhalla/langtools: Consolidate specialization-related type routines:

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Apr 28 11:15:46 UTC 2015


Changeset: 58e78a090947
Author:    mcimadamore
Date:      2015-04-28 12:15 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/58e78a090947

Consolidate specialization-related type routines:
* Removed Types.asPartiallyInstantiatedType
* Generalized Types.stripReferenceArgTypes into a type mapper accepting customizable type-arg mappings
* Restrcutured isReifiable/isSpecializable checks
* Restructured hasSameArgs check
* Removed Type.isSpecializable (replaced with Type.isPrimitiveOrValue as that has cleaner semantics)

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/WhereClause.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Items.java
! test/tools/javac/valhalla/typespec/AnyReference.out
! test/tools/javac/valhalla/typespec/TestRefOnly03.out



More information about the valhalla-dev mailing list