[lworld] RFR: 8294051: [lworld] runtime/AccModule/ConstModule.java fails with incorrect error message [v2]
Coleen Phillimore
coleenp at openjdk.org
Wed Sep 10 18:35:47 UTC 2025
On Mon, 8 Sep 2025 17:49:07 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/classfile/classFileParser.cpp line 4465:
>>
>>> 4463: "Illegal class modifiers in class %s%s: 0x%X",
>>> 4464: _class_name->as_C_string(), class_note, flags
>>> 4465: );
>>
>> By removing the special handling of inner classes, the exception will report the access flag issue on the wrong class. This is going to make debugging/troubleshooting harder.
>
> This is something we don't have in mainline. I can add it there instead and it'll get merged in here.
https://bugs.openjdk.org/browse/JDK-8367368
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1550#discussion_r2337589970
More information about the valhalla-dev
mailing list