hg: nashorn/jdk8/nashorn: 8012240: Array.prototype.map.call({length: -1, get 0(){throw 0}}, function(){}).length does not throw error

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Mon Apr 15 07:43:05 PDT 2013


Changeset: aa8170c0dec9
Author:    sundar
Date:      2013-04-15 20:12 +0530
URL:       http://hg.openjdk.java.net/nashorn/jdk8/nashorn/rev/aa8170c0dec9

8012240: Array.prototype.map.call({length: -1, get 0(){throw 0}}, function(){}).length does not throw error
Reviewed-by: lagergren, jlaskey

! src/jdk/nashorn/internal/runtime/arrays/MapIterator.java
+ test/script/basic/JDK-8012240.js



More information about the nashorn-dev mailing list