src/java.base/share/classes/java/nio/MappedByteBuffer.java

Print this page
rev 12972 : 8140606: Update library code to use internal Unsafe
Reviewed-by: duke

*** 24,34 **** */ package java.nio; import java.io.FileDescriptor; ! import sun.misc.Unsafe; /** * A direct byte buffer whose content is a memory-mapped region of a file. * --- 24,34 ---- */ package java.nio; import java.io.FileDescriptor; ! import jdk.internal.misc.Unsafe; /** * A direct byte buffer whose content is a memory-mapped region of a file. *