RFR: 8364655: Loading class with nested annotations causes stack overflow in VM [v2]

Johan Sjölen jsjolen at openjdk.org
Thu Jan 8 18:10:20 UTC 2026


On Wed, 17 Dec 2025 03:33:22 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix character
>
> test/hotspot/jtreg/runtime/ClassFile/NestedAnnotations.java line 64:
> 
>> 62: 
>> 63:         cw.visitEnd();
>> 64:         // Does not matter whether the class is hidden, used for simplicity’s sake.
> 
> Check the actual character used for the apostrophe here. When I grabbed the raw file it failed to compile: `unmappable character (0x92) for encoding UTF-8`

I checked it with this: https://www.soscisurvey.de/tools/view-chars.php

Nothing weird, it seems like the culprit is `’` in "simplicity's"

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28674#discussion_r2673356359


More information about the hotspot-runtime-dev mailing list