-
Bug
-
Resolution: Fixed
-
P4
-
23
-
b04
----------System.out:(48/3152)----------
Seed from RandomFactory = -3824635998985927190L
test TransferTo.testNullPointerException(): success
test TransferTo.testStreamContents(): failure
java.lang.IndexOutOfBoundsException: Range [5825, 5825 + 8192) out of bounds for length 8192
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromIndexSize(Preconditions.java:118)
at java.base/jdk.internal.util.Preconditions.checkFromIndexSize(Preconditions.java:397)
at java.base/java.util.Objects.checkFromIndexSize(Objects.java:417)
at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:131)
at java.base/java.io.BufferedInputStream.implTransferTo(BufferedInputStream.java:647)
at java.base/java.io.BufferedInputStream.transferTo(BufferedInputStream.java:631)
at TransferTo.checkTransferredContents(TransferTo.java:182)
at TransferTo.testStreamContents(TransferTo.java:133)
Seed from RandomFactory = -3824635998985927190L
test TransferTo.testNullPointerException(): success
test TransferTo.testStreamContents(): failure
java.lang.IndexOutOfBoundsException: Range [5825, 5825 + 8192) out of bounds for length 8192
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromIndexSize(Preconditions.java:118)
at java.base/jdk.internal.util.Preconditions.checkFromIndexSize(Preconditions.java:397)
at java.base/java.util.Objects.checkFromIndexSize(Objects.java:417)
at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:131)
at java.base/java.io.BufferedInputStream.implTransferTo(BufferedInputStream.java:647)
at java.base/java.io.BufferedInputStream.transferTo(BufferedInputStream.java:631)
at TransferTo.checkTransferredContents(TransferTo.java:182)
at TransferTo.testStreamContents(TransferTo.java:133)
- relates to
-
JDK-8320971 Use BufferedInputStream.buf directly when param of implTransferTo() is trusted
- Resolved