--- old/src/jdk.unsupported/share/classes/com/sun/nio/file/ExtendedWatchEventModifier.java 2019-06-26 16:19:09.357138600 +0200 +++ new/src/jdk.unsupported/share/classes/com/sun/nio/file/ExtendedWatchEventModifier.java 2019-06-26 16:19:08.433800500 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,7 +26,7 @@ package com.sun.nio.file; import java.nio.file.WatchEvent.Modifier; -import sun.nio.fs.ExtendedOptions; +import jdk.internal.misc.FileSystemOption; /** * Defines extended watch event modifiers supported on some platforms @@ -40,9 +40,9 @@ /** * Register a file tree instead of a single directory. */ - FILE_TREE(ExtendedOptions.FILE_TREE); + FILE_TREE(FileSystemOption.FILE_TREE); - ExtendedWatchEventModifier(ExtendedOptions.InternalOption option) { + ExtendedWatchEventModifier(FileSystemOption option) { option.register(this); } }