test/script/basic/javaexceptions.js

changeset 77
d7e83be6e7aa
parent 7
5a1b0714df0e
child 952
6d5471a497fb
child 962
ac62e33a99b0
     1.1 --- a/test/script/basic/javaexceptions.js	Wed Feb 06 12:51:09 2013 -0400
     1.2 +++ b/test/script/basic/javaexceptions.js	Thu Feb 07 17:17:29 2013 +0530
     1.3 @@ -31,7 +31,7 @@
     1.4  try {
     1.5      new java.io.FileInputStream("non_existent_file");
     1.6  } catch (e) {
     1.7 -    print(e instanceof java.io.FileNotFoundException);
     1.8 +    print(e instanceof java.io.FileNotFoundException || e instanceof java.lang.SecurityException);
     1.9  }
    1.10  
    1.11  try {

mercurial