RFR: 8359423: Improve error message in case of missing jsa shared archive [v5]

Matthias Baesken mbaesken at openjdk.org
Thu Sep 11 12:20:02 UTC 2025


On Tue, 17 Jun 2025 16:05:23 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix message
>
> src/hotspot/share/cds/metaspaceShared.cpp line 1274:
> 
>> 1272:     vm_exit_during_initialization("Unable to use AOT cache.", nullptr);
>> 1273:   } else {
>> 1274:     vm_exit_during_initialization("Unable to use shared archive (unrecoverable archive loading error).", nullptr);
> 
> Who not to use message here instead of 'unrecoverable archive loading error'? The default message is 'unrecoverable error'. The default message can be updated to 'unrecoverable archive loading error'.

I added the message , that's a good idea !

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25846#discussion_r2340532694


More information about the hotspot-runtime-dev mailing list