hg: nashorn/jdk8/nashorn: 8008814: Configurable ignore/warning/error behavior for function declaration as statement
attila.szegedi at oracle.com
attila.szegedi at oracle.com
Mon Apr 29 14:22:52 PDT 2013
Changeset: 630372cb8f2a
Author: attila
Date: 2013-04-29 23:22 +0200
URL: http://hg.openjdk.java.net/nashorn/jdk8/nashorn/rev/630372cb8f2a
8008814: Configurable ignore/warning/error behavior for function declaration as statement
Reviewed-by: jlaskey, sundar
! src/jdk/nashorn/internal/parser/AbstractParser.java
! src/jdk/nashorn/internal/parser/Parser.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/options/Options.java
! src/jdk/nashorn/internal/runtime/resources/Options.properties
+ test/script/basic/JDK-8008814-3.js
+ test/script/basic/JDK-8008814-3.js.EXPECTED
+ test/script/basic/JDK-8008814-4.js
+ test/script/basic/JDK-8008814-4.js.EXPECTED
+ test/script/error/JDK-8008814-1.js
+ test/script/error/JDK-8008814-1.js.EXPECTED
+ test/script/error/JDK-8008814-2.js
+ test/script/error/JDK-8008814-2.js.EXPECTED
More information about the nashorn-dev
mailing list