8155775: Re-examine naming of privileged methods to access System properties

Reviewed-by: mullan
This commit is contained in:
Claes Redestad 2016-05-03 15:50:54 +02:00
parent 44790114ee
commit e8cd76568d
80 changed files with 164 additions and 152 deletions

View file

@ -120,7 +120,7 @@ class FileDispatcherImpl extends FileDispatcher {
static boolean isFastFileTransferRequested() {
String fileTransferProp = GetPropertyAction
.getProperty("jdk.nio.enableFastFileTransfer");
.privilegedGetProperty("jdk.nio.enableFastFileTransfer");
boolean enable;
if ("".equals(fileTransferProp)) {
enable = true;