hg: valhalla/valhalla/langtools: Fix: cleanup specialized accessor code

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Jun 23 13:33:37 UTC 2015


Changeset: 5f295bd9529c
Author:    mcimadamore
Date:      2015-06-23 14:33 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/5f295bd9529c

Fix: cleanup specialized accessor code
* add customizable flags to static BSM args (to tweak how specialization should behave)
* cleanup code in Lower.access(Symbol)
* Added test for generic method calling private generic method (both static and instance)

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.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/SpecializedAccessors5.java



More information about the valhalla-dev mailing list