hg: jdk9/sandbox/nashorn: 8156743: ES6 for..of should work for Java Maps and Sets

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Mar 2 18:31:28 UTC 2017


Changeset: 4561f9afd9bd
Author:    sdama
Date:      2017-03-02 09:01 -0800
URL:       http://hg.openjdk.java.net/jdk9/sandbox/nashorn/rev/4561f9afd9bd

8156743: ES6 for..of should work for Java Maps and Sets
Summary: Implemented java map object iterator which behaves similar to native map object iterator
Reviewed-by: jlaskey, attila
Contributed-by: srinivas.dama at oracle.com

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptRuntime.java
+ test/script/basic/es6/JDK-8156743.js
+ test/script/basic/es6/JDK-8156743.js.EXPECTED



More information about the jdk9-sandbox-changes mailing list