RFR: 8338888: SystemDictionary::class_name_symbol has incorrect length check

David Holmes dholmes at openjdk.org
Wed Aug 28 01:33:28 UTC 2024


On Tue, 27 Aug 2024 13:20:09 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> ?? you mean just 0x59? That would be zero extended to 0x00000059, which would not have the desired affect.
>
> memset does cast the input int to unsigned char, so you get your YYY...

Hmmm I was getting weird behaviour when I directly used the character e.g. `Y` - I attributed it to zero extension. I will check again.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20709#discussion_r1733755477


More information about the hotspot-runtime-dev mailing list