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")
  • Loading branch information
gorrus committed Apr 9, 2019
1 parent 4bd3f78 commit 3a09f6c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,10 @@ long attachTimeout() {
}

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 3a09f6c

Please sign in to comment.