RFR: 8325002: Exceptions::fthrow needs to ensure it truncates to a valid utf8 string
David Holmes
dholmes at openjdk.org
Sat Jul 27 12:18:35 UTC 2024
On Sat, 27 Jul 2024 07:25:30 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
>> Will need to re-examine this part.
>
> Keep in mind that 0xed a few lines above could have matched the first byte and not the fourth one.
So ... the first three bytes of a six byte sequence can be indistinguishable from a three byte sequence! How does that work???
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20345#discussion_r1693949216
More information about the hotspot-dev
mailing list