hg: amber/amber/langtools: a constant string inside a special constant should behave as a constant in a constant expression

vicente.romero at oracle.com vicente.romero at oracle.com
Wed Apr 26 01:15:31 UTC 2017


Changeset: 2b2a816e844d
Author:    vromero
Date:      2017-04-25 17:54 -0700
URL:       http://hg.openjdk.java.net/amber/amber/langtools/rev/2b2a816e844d

a constant string inside a special constant should behave as a constant in a constant expression

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ConstFold.java
+ test/tools/javac/specialConstantFolding/harness/tests/StringFoldingTest.java



More information about the amber-dev mailing list