RFR: 8048190: NoClassDefFoundError omits original ExceptionInInitializerError [v10]
    Coleen Phillimore 
    coleenp at openjdk.java.net
       
    Thu Aug 12 00:53:30 UTC 2021
    
    
  
On Wed, 11 Aug 2021 20:33:31 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 1109:
> 
>> 1107:       ResourceMark rm(THREAD);
>> 1108:       Handle cause(THREAD, get_initialization_error(THREAD));
>> 1109:       CLEAR_PENDING_EXCEPTION; // ignore any OOM here.
> 
> `get_initialization_error()` doesn't throw any error. Is `CLEAR_PENDING_EXCEPTION` really needed here?
It does not throw any error anymore.  Removed that line.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4996
    
    
More information about the hotspot-dev
mailing list