Description
Nashorn API doc here:
http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/api.html
" section 2.8 "Nashorn interprets Java collections as arrays"
"Nashorn interprets Java collections as arrays. You can access collection elements using the index in brackets ([]) and iterate over the values of a collection using the for each statement, as shown in the following example:"
Has to changed to say "Java Lists as arrays" everywhere.
http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/api.html
" section 2.8 "Nashorn interprets Java collections as arrays"
"Nashorn interprets Java collections as arrays. You can access collection elements using the index in brackets ([]) and iterate over the values of a collection using the for each statement, as shown in the following example:"
Has to changed to say "Java Lists as arrays" everywhere.