nashorn/test/script/basic/map.js.EXPECTED
author sundar
Thu, 08 Aug 2013 16:38:32 +0530
changeset 19456 8cc345d620c8
parent 16147 e63b63819133
child 34979 03b189baa361
permissions -rw-r--r--
8022524: Memory leaks in nashorn sources and tests found by jhat analysis Reviewed-by: attila, hannesw

m.class.name=java.util.LinkedHashMap
m = {}
m.empty = true
m['empty'] = true
m[empty_key] = true
m = {empty=foo}
m.empty = false
m['empty'] = foo
m[empty_key] = foo
m.bwah = null
m['bwah'] = null
m.twonk = ding
m['twonk'] = ding
m.size()=2
--for each begin--
empty
twonk
--for each end--