mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8007715: Make sure that not all tests run with AllPermission
Reviewed-by: lagergren, attila
This commit is contained in:
parent
57ef7ce075
commit
b247ddfcc3
20 changed files with 294 additions and 104 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue