diff options
Diffstat (limited to 'test/script/basic/JDK-8019819.js')
-rw-r--r-- | test/script/basic/JDK-8019819.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/script/basic/JDK-8019819.js b/test/script/basic/JDK-8019819.js index 1760ac3d..f8998508 100644 --- a/test/script/basic/JDK-8019819.js +++ b/test/script/basic/JDK-8019819.js @@ -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 f() { function g() { try { - } catch(e) { - with({}) { + } catch(e) { + with({}) { throw e; } } |