< prev index next >

src/jdk.unsupported/share/classes/com/sun/nio/file/ExtendedCopyOption.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn

@@ -1,7 +1,7 @@
 /*
- * 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -24,11 +24,11 @@
  */
 
 package com.sun.nio.file;
 
 import java.nio.file.CopyOption;
-import sun.nio.fs.ExtendedOptions;
+import jdk.internal.misc.FileSystemOption;
 
 /**
  * Defines <em>extended</em> copy options supported on some platforms
  * by Sun's provider implementation.
  *

@@ -38,11 +38,11 @@
 public enum ExtendedCopyOption implements CopyOption {
     /**
      * The copy may be interrupted by the {@link Thread#interrupt interrupt}
      * method.
      */
-    INTERRUPTIBLE(ExtendedOptions.INTERRUPTIBLE);
+    INTERRUPTIBLE(FileSystemOption.INTERRUPTIBLE);
 
-    ExtendedCopyOption(ExtendedOptions.InternalOption<Void> option) {
+    ExtendedCopyOption(FileSystemOption<Void> option) {
         option.register(this);
     }
 }
< prev index next >