nashorn/test/script/basic/finally-catchalls.js.EXPECTED
author thartmann
Mon, 02 Jun 2014 08:07:29 +0200
changeset 24923 9631f7d691dc
parent 16147 e63b63819133
permissions -rw-r--r--
8034812: remove IDX_INIT macro hack in Node class Summary: The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly. Reviewed-by: kvn, jrose, iveresov, goetz


test 1

try
finally
got e

test 2

try
finally

test 3

try
finally

test 4

try 0
finally 1
try 1
finally 2
try 2
finally 3
try 3
finally 4
try 4
finally 5
try 5
finally 6
try 6
finally 7
try 7
finally 8
try 8
finally 9
try 9
finally 10
10

test 5

try 0
finally 1
1

test 6

try 0
finally 1
try 1
finally 2
try 2
finally 3
try 3
finally 4
try 4
finally 5
try 5
finally 5
5