jdk/src/share/classes/sun/nio/ch/FileChannelImpl.java
changeset 1821 fe2556ead537
parent 1143 645d4b930f93
child 2057 3acf8e5e2ca0
--- a/jdk/src/share/classes/sun/nio/ch/FileChannelImpl.java	Tue Jan 20 13:02:58 2009 -0800
+++ b/jdk/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");
     }
 
 }