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

Test java/foreign/TestHandshake.java fails with IndexOutOfBoundsException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 22
    • core-libs

    Description

      Possibly related to JDK-8310644

      TERATION 1
      Started first thread: "Accessor #" + id ; elapsed (ms): 1
      ----------System.err:(12/1064)----------
      java.lang.IndexOutOfBoundsException: Index 26111 out of bounds for length -1
      at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
      at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
      at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
      at java.base/java.lang.invoke.VarHandleByteArrayAsShorts$ByteBufferHandle.index(VarHandleByteArrayAsShorts.java:229)
      at java.base/java.lang.invoke.VarHandleByteArrayAsShorts$ByteBufferHandle.get(VarHandleByteArrayAsShorts.java:260)
      at TestHandshake$BufferHandleAccessor.doAccess(TestHandshake.java:262)
      at TestHandshake$AbstractSegmentAccessor.run(TestHandshake.java:105)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      at java.base/java.lang.Thread.run(Thread.java:1570)
      STATUS:Failed.`main' threw exception: java.lang.IndexOutOfBoundsException: Index 26111 out of bounds for length -1

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: