hg: amber/amber/langtools: rewrite class literal trees if the target type is ClassConstant

vicente.romero at oracle.com vicente.romero at oracle.com
Mon Apr 24 19:26:38 UTC 2017


Changeset: b998e852ac91
Author:    vromero
Date:      2017-04-24 12:10 -0700
URL:       http://hg.openjdk.java.net/amber/amber/langtools/rev/b998e852ac91

rewrite class literal trees if the target type is ClassConstant

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
+ test/tools/javac/specialConstantFolding/ClassConstantAsTarget01.java



More information about the amber-dev mailing list