hg: jdk8u/jdk8u-dev/nashorn: 8134488: var statement in if(false) block incorrectly evacuated into enclosing function

attila.szegedi at oracle.com attila.szegedi at oracle.com
Mon Sep 28 07:13:37 UTC 2015


Changeset: 5391219122ee
Author:    attila
Date:      2015-09-25 17:53 +0200
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/nashorn/rev/5391219122ee

8134488: var statement in if(false) block incorrectly evacuated into enclosing function
Reviewed-by: hannesw, sundar

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



More information about the jdk8u-dev-changes mailing list