hg: jdk9/dev/nashorn: 8044534: Constant folding for unary + should produce int for boolean literals

attila.szegedi at oracle.com attila.szegedi at oracle.com
Tue Jun 3 10:05:48 UTC 2014


Changeset: b46f809c8322
Author:    attila
Date:      2014-06-03 12:05 +0200
URL:       http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/b46f809c8322

8044534: Constant folding for unary + should produce int for boolean literals
Reviewed-by: lagergren, sundar

! src/jdk/nashorn/internal/codegen/FoldConstants.java
+ test/script/basic/JDK-8044534.js
+ test/script/basic/JDK-8044534.js.EXPECTED



More information about the jdk9-dev-changes mailing list