nashorn/test/script/basic/JDK-8015349.js.EXPECTED
author sundar
Thu, 09 Jan 2014 19:23:34 +0530
changeset 22379 5181d08e3440
parent 17781 1d40bf1412e0
permissions -rw-r--r--
8031359: Invocable.getInterface() works incorrectly if interface has default methods Reviewed-by: attila, hannesw

'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