--- old/src/jdk.unsupported/share/classes/com/sun/nio/file/ExtendedOpenOption.java 2018-11-01 19:09:19.000000000 -0700 +++ new/src/jdk.unsupported/share/classes/com/sun/nio/file/ExtendedOpenOption.java 2018-11-01 19:09:18.000000000 -0700 @@ -26,7 +26,7 @@ package com.sun.nio.file; import java.nio.file.OpenOption; -import sun.nio.fs.ExtendedOptions; +import jdk.internal.misc.FileSystemOption; /** * Defines extended open options supported on some platforms @@ -39,15 +39,15 @@ /** * Prevent operations on the file that request read access. */ - NOSHARE_READ(ExtendedOptions.NOSHARE_READ), + NOSHARE_READ(FileSystemOption.NOSHARE_READ), /** * Prevent operations on the file that request write access. */ - NOSHARE_WRITE(ExtendedOptions.NOSHARE_WRITE), + NOSHARE_WRITE(FileSystemOption.NOSHARE_WRITE), /** * Prevent operations on the file that request delete access. */ - NOSHARE_DELETE(ExtendedOptions.NOSHARE_DELETE), + NOSHARE_DELETE(FileSystemOption.NOSHARE_DELETE), /** * Requires that direct I/O be used for read or write access. @@ -69,9 +69,9 @@ * * @since 10 */ - DIRECT(ExtendedOptions.DIRECT); + DIRECT(FileSystemOption.DIRECT); - ExtendedOpenOption(ExtendedOptions.InternalOption option) { + ExtendedOpenOption(FileSystemOption option) { option.register(this); } }