nashorn/test/script/basic/JDK-8015349.js.EXPECTED
author hannesw
Fri, 03 Feb 2017 13:28:00 +0100
changeset 43555 1bb10bccf057
parent 17781 1d40bf1412e0
permissions -rw-r--r--
8173888: Test for JDK-8169481 causes stack overflows in parser tests Reviewed-by: jlaskey, sundar

'abc'.lastIndexOf('a', 4) = 0
'abc'.lastIndexOf('b', Infinity) = 1
'abc'.lastIndexOf('a', -1) = 0
'abc'.lastIndexOf('a', -Infinity) = 0
'oracle'.lastIndexOf('u') = -1
'hello'.lastIndexOf('l') = 3
'hello'.lastIndexOf('l', 2) = 2
'hello'.lastIndexOf('l', 3) = 3
'hello'.lastIndexOf('l', 1) = -1