diff options
author | jfrijters <jfrijters> | 2008-06-13 13:00:47 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2008-06-13 13:00:47 +0400 |
commit | f0ec6a7e0d16e7cd941c051155ff6d804fecd1fc (patch) | |
tree | cf515a93adc5be657ec01bcc188fd46d852ee839 /openjdk/sun/nio/ch | |
parent | 8b7b320f15a21a7fac1c68163c5481590fe8c8cc (diff) |
Integrated OpenJDK 6 b10.
Diffstat (limited to 'openjdk/sun/nio/ch')
-rw-r--r-- | openjdk/sun/nio/ch/FileChannelImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openjdk/sun/nio/ch/FileChannelImpl.java b/openjdk/sun/nio/ch/FileChannelImpl.java index 1c22bc2c..036e2cdb 100644 --- a/openjdk/sun/nio/ch/FileChannelImpl.java +++ b/openjdk/sun/nio/ch/FileChannelImpl.java @@ -669,9 +669,9 @@ public class FileChannelImpl if (!propertyChecked) { synchronized (FileChannelImpl.class) { if (!propertyChecked) { - PrivilegedAction pa = new GetPropertyAction( - "sun.nio.ch.disableSystemWideOverlappingFileLockCheck"); - String value = (String)AccessController.doPrivileged(pa); + String value = AccessController.doPrivileged( + new GetPropertyAction( + "sun.nio.ch.disableSystemWideOverlappingFileLockCheck")); isSharedFileLockTable = ((value == null) || value.equals("false")); propertyChecked = true; } |