RFR: 8048190: NoClassDefFoundError omits original ExceptionInInitializerError [v10]
Coleen Phillimore
coleenp at openjdk.java.net
Thu Aug 12 00:58:32 UTC 2021
On Wed, 11 Aug 2021 20:38:07 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fix typo in EIIE message.
>
> src/hotspot/share/oops/instanceKlass.cpp line 1022:
>
>> 1020:
>> 1021: void InstanceKlass::add_initialization_error(Handle exception, TRAPS) {
>> 1022: bool created = false;
>
> Since this function will never throw, by our new convention, it should not be declared TRAPS, and the thread parameter should not be the last.
Ok, I changed it around.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4996
More information about the hotspot-dev
mailing list