Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2008-06-13 13:00:47 +0400
committerjfrijters <jfrijters>2008-06-13 13:00:47 +0400
commitf0ec6a7e0d16e7cd941c051155ff6d804fecd1fc (patch)
treecf515a93adc5be657ec01bcc188fd46d852ee839 /openjdk/sun/nio/ch
parent8b7b320f15a21a7fac1c68163c5481590fe8c8cc (diff)
Integrated OpenJDK 6 b10.
Diffstat (limited to 'openjdk/sun/nio/ch')
-rw-r--r--openjdk/sun/nio/ch/FileChannelImpl.java6
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;
}