mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8155775
: Re-examine naming of privileged methods to access System properties
Reviewed-by: mullan
This commit is contained in:
parent
44790114ee
commit
e8cd76568d
80 changed files with 164 additions and 152 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue