Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8287154

java/nio/channels/FileChannel/LargeMapTest.java does not compile

    XMLWordPrintable

Details

    • b24

    Description

      open/test/jdk/java/nio/channels/FileChannel/LargeMapTest.java:64: error: cannot find symbol
                  MemorySegment mbb = MemorySegment.ofByteBuffer(bb);
                                                   ^
        symbol: method ofByteBuffer(ByteBuffer)
        location: interface MemorySegment
      Note: /opt/mach5/mesos/work_dir/jib-master/install/jdk-19+24-1761/src.full/open/test/jdk/java/nio/channels/FileChannel/LargeMapTest.java uses preview features of Java SE 19.
      Note: Recompile with -Xlint:preview for details.
      1 error
      result: Failed. Compilation failed: Compilation failed

      Attachments

        Issue Links

          Activity

            People

              mcimadamore Maurizio Cimadamore
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: