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

David Holmes dholmes at openjdk.org
Mon Jan 12 20:00:31 UTC 2026


On Thu, 8 Jan 2026 18:06:17 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> 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"

Yep - smart quote rather than plain ascii single-quote. I see you fixed it.

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

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


More information about the hotspot-runtime-dev mailing list