changeset 24778 | 2ff5d7041566 |
parent 18853 | 25ba8264b427 |
--- a/nashorn/test/script/basic/JDK-8019819.js Wed Jun 04 13:55:21 2014 +0530 +++ b/nashorn/test/script/basic/JDK-8019819.js Wed Jun 04 13:08:57 2014 +0200 @@ -23,14 +23,14 @@ /** * JDK-8019819: scope symbol didn't get a slot in certain cases - * + * * @test * @run */ function f() { try { - } catch(e if [].g(e)) { - with({}) { + } catch(e if [].g(e)) { + with({}) { throw e; } } @@ -38,8 +38,8 @@ function g() { try { - } catch(e) { - with({}) { + } catch(e) { + with({}) { throw e; } }