RFR: 8345120: A likely bug in StringSupport::chunkedStrlenShort [v3]
Per Minborg
pminborg at openjdk.org
Mon Dec 2 11:30:16 UTC 2024
On Fri, 29 Nov 2024 12:44:53 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix imports
>
> test/jdk/java/foreign/TestStringEncoding.java line 2:
>
>> 1: /*
>> 2: * Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
>
> Do we have tests to check that we don't read too much? E.g. something that would trigger the problem that this PR is trying to fix?
I've added a test that checks odd bytes at the end are handled correctly.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22451#discussion_r1865684854
More information about the core-libs-dev
mailing list