RFR: 8299576: Reimplement java.io.Bits using VarHandle access [v2]

Per Minborg pminborg at openjdk.org
Wed Jan 4 10:51:50 UTC 2023


On Wed, 4 Jan 2023 09:25:40 GMT, Uwe Schindler <uschindler at openjdk.org> wrote:

> Do we need this test at all, because this code is tested to extense through RandomAccessFile? We had no test before, so why add a new one here?
> 
> Otherwise: PR looks good.

There are overlaps of the RAF and Bits tests but the latter tests additional aspects such as unaligned access and edge cases with exceptions. So, I think we should keep the proposed tests.

-------------

PR: https://git.openjdk.org/jdk/pull/11840


More information about the core-libs-dev mailing list