< prev index next >

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

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