src/java.base/windows/classes/sun/nio/fs/WindowsWatchService.java

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

*** 34,44 **** import java.util.HashMap; import java.util.Map; import java.util.Set; import com.sun.nio.file.ExtendedWatchEventModifier; ! import sun.misc.Unsafe; import static sun.nio.fs.WindowsNativeDispatcher.*; import static sun.nio.fs.WindowsConstants.*; /* --- 34,44 ---- import java.util.HashMap; import java.util.Map; import java.util.Set; import com.sun.nio.file.ExtendedWatchEventModifier; ! import jdk.internal.misc.Unsafe; import static sun.nio.fs.WindowsNativeDispatcher.*; import static sun.nio.fs.WindowsConstants.*; /*