8007715: Make sure that not all tests run with AllPermission

Reviewed-by: lagergren, attila
This commit is contained in:
Athijegannathan Sundararajan 2013-02-07 17:17:29 +05:30
parent 57ef7ce075
commit b247ddfcc3
20 changed files with 294 additions and 104 deletions

View file

@ -31,7 +31,7 @@
try {
new java.io.FileInputStream("non_existent_file");
} catch (e) {
print(e instanceof java.io.FileNotFoundException);
print(e instanceof java.io.FileNotFoundException || e instanceof java.lang.SecurityException);
}
try {