-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b19
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8267090 | 15.0.4 | Sergey Nazarkin | P3 | Resolved | Fixed | b02 |
JDK-8266486 | 13.0.8 | Sergey Nazarkin | P3 | Resolved | Fixed | b02 |
JDK-8266151 | 11.0.13-oracle | Thejasvi Voniadka | P3 | Resolved | Fixed | b01 |
JDK-8266481 | 11.0.12 | Sergey Nazarkin | P3 | Resolved | Fixed | b01 |
java.nio.BufferOverflowException
at java.base/java.nio.Buffer.nextPutIndex(Buffer.java:
at java.base/java.nio.DirectByteBuffer.put(DirectByteBuffer.java:
at DirectIOTest.testWrite(DirectIOTest.java:
at DirectIOTest.main(DirectIOTest.java:
This happens due to ByteBuffer.allocateDirect(SIZE + alignment - 1) .alignedSlice(alignment) returns zero-length buffer.
- backported by
-
JDK-8266151 DirectIOTest fails on a system with large block size
- Resolved
-
JDK-8266481 DirectIOTest fails on a system with large block size
- Resolved
-
JDK-8266486 DirectIOTest fails on a system with large block size
- Resolved
-
JDK-8267090 DirectIOTest fails on a system with large block size
- Resolved
- relates to
-
JDK-8265231 (fc) ReadDirect and WriteDirect tests fail after fix for JDK-8264821
- Resolved
- links to
-
Commit openjdk/jdk13u-dev/1c24c099
-
Commit openjdk/jdk15u-dev/631defc8
-
Commit openjdk/jdk/7e4cd480
-
Review openjdk/jdk13u-dev/193
-
Review openjdk/jdk15u-dev/51
-
Review openjdk/jdk/3482