test/script/basic/JDK-8019819.js

changeset 962
ac62e33a99b0
parent 0
b1a7da25b547
     1.1 --- a/test/script/basic/JDK-8019819.js	Tue Aug 19 20:43:03 2014 +0100
     1.2 +++ b/test/script/basic/JDK-8019819.js	Wed Aug 20 10:25:28 2014 +0200
     1.3 @@ -23,14 +23,14 @@
     1.4  
     1.5  /**
     1.6   * JDK-8019819: scope symbol didn't get a slot in certain cases
     1.7 - * 
     1.8 + *
     1.9   * @test
    1.10   * @run
    1.11   */
    1.12  function f() {
    1.13      try {
    1.14 -    } catch(e if [].g(e)) { 
    1.15 -        with({}) { 
    1.16 +    } catch(e if [].g(e)) {
    1.17 +        with({}) {
    1.18              throw e;
    1.19          }
    1.20      }
    1.21 @@ -38,8 +38,8 @@
    1.22  
    1.23  function g() {
    1.24      try {
    1.25 -    } catch(e) { 
    1.26 -        with({}) { 
    1.27 +    } catch(e) {
    1.28 +        with({}) {
    1.29              throw e;
    1.30          }
    1.31      }

mercurial