Skip to content

Commit

Permalink
JBR-1354 com/sun/tools/attach/PermissionTest.java: access denied ("ja…
Browse files Browse the repository at this point in the history
…va.util.PropertyPermission" "sun.tools.attach.tmp.only" "read")

(cherry picked from commit 3a09f6c)
  • Loading branch information
gorrus authored and vprovodin committed Feb 16, 2024
1 parent 8af98d9 commit ff10465
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ protected static void checkNulls(Object... args) {
}

boolean attachOnlyInTmp() {
return Boolean.getBoolean("sun.tools.attach.tmp.only");
try {
return Boolean.getBoolean("sun.tools.attach.tmp.only");
} catch (Exception e) {
return false;
}
}
}

0 comments on commit ff10465

Please sign in to comment.