changeset 804:42f8dea1b865

6769976: (fc) FileChannelImpl.isAMappedBufferField not used Summary: Remove the FileChannelImpl.isAMappedBufferField field Reviewed-by: alanb
author mchung
date Tue, 20 Jan 2009 13:04:19 -0800
parents 1f751a9f7052
children 7fa0a7a3c080
files src/share/classes/sun/nio/ch/FileChannelImpl.java
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/nio/ch/FileChannelImpl.java	Tue Jan 20 13:02:58 2009 -0800
+++ b/src/share/classes/sun/nio/ch/FileChannelImpl.java	Tue Jan 20 13:04:19 2009 -0800
@@ -60,9 +60,6 @@
     // Memory allocation size for mapping buffers
     private static final long allocationGranularity;
 
-    // Cached field for MappedByteBuffer.isAMappedBuffer
-    private static final Field isAMappedBufferField;
-
     // File descriptor
     private final FileDescriptor fd;
 
@@ -1315,8 +1312,6 @@
         Util.load();
         allocationGranularity = initIDs();
         nd = new FileDispatcher();
-        isAMappedBufferField = Reflect.lookupField("java.nio.MappedByteBuffer",
-                                          "isAMappedBuffer");
     }
 
 }