RFR: 8338888: SystemDictionary::class_name_symbol has incorrect length check
David Holmes
dholmes at openjdk.org
Mon Aug 26 12:23:04 UTC 2024
On Mon, 26 Aug 2024 12:17:59 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> It does. It is the text up to the %s and the expanded %d which will be 65535, plus one. The plus one deals with a seeming off-by-one bug with macOS vsnprintf.
>
> But I'm realizing now that this should not work ... it needs to account for the actual strlen of the name.
No I take that back.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20709#discussion_r1731160229
More information about the hotspot-runtime-dev
mailing list