RFR: 8156743: ES6 for..of should work for Java Maps and Sets

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Thu Mar 2 15:52:12 UTC 2017


Quick comment:

File: ScriptRuntime.java

  404         if (obj != null && obj instanceof Map) {

should just be

      if (obj instanceof Map) {

-Sundar

On 02/03/17, 8:06 PM, Srinivas Dama wrote:
> Hello,
>
> Please review http://cr.openjdk.java.net/~sdama/8156743/webrev.00/
> for https://bugs.openjdk.java.net/browse/JDK-8156743
>
> Regards,
> Srinivas
>


More information about the nashorn-dev mailing list