Integrated: 8264821: DirectIOTest fails on a system with large block size
Brian Burkhalter
bpb at openjdk.java.net
Wed Apr 14 15:36:47 UTC 2021
On Wed, 14 Apr 2021 01:37:19 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Please review this request to clean up a test. The main change is to ensure that the capacity passed to `ByteBuffer.allocateDirect()` is large enough that when `alignedSlice()` is called on the new buffer, it creates an aligned buffer which does not have size zero due due to position rounding resulting in out-of-bound values. Other changes in the test are cleanup.
This pull request has now been integrated.
Changeset: 7e4cd480
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7e4cd480
Stats: 33 lines in 1 file changed: 7 ins; 8 del; 18 mod
8264821: DirectIOTest fails on a system with large block size
Reviewed-by: chegar
-------------
PR: https://git.openjdk.java.net/jdk/pull/3482
More information about the nio-dev
mailing list