< prev index next >

src/java.base/share/classes/java/nio/channels/FileChannel.java

Print this page
@@ -1086,13 +1086,12 @@
       *          If some other I/O error occurs.
       *
       * @throws  UnsupportedOperationException
       *          If an unsupported map mode is specified.
       *
-      * @since   19
+      * @since   22
       */
-     @PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
      public MemorySegment map(MapMode mode, long offset, long size, Arena arena)
          throws IOException
      {
          throw new UnsupportedOperationException();
      }
< prev index next >