RFR: 8048190: NoClassDefFoundError omits original ExceptionInInitializerError [v4]
    Coleen Phillimore 
    coleenp at openjdk.java.net
       
    Mon Aug  9 17:36:36 UTC 2021
    
    
  
On Mon, 9 Aug 2021 08:39:38 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:
>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Create new exception during initialization saving, so only need to save an oop. (Could potentially move to Doug's secret Class location.  If the exception is not bootstrap exception, throw EIIE instead with message of original exception.
>
> src/hotspot/share/classfile/javaClasses.cpp line 2685:
> 
>> 2683:   assert(stack_trace->is_objArray(), "Should be an array");
>> 2684: 
>> 2685:   // If the original exception was in java.base, then use that otherwise use
> 
> comment is about one specific bootstrap module (java.base) but the check is for bootstrap loader.
Ok, thanks for pointing that out. I fixed the comment.  I realized that really wanted the bootloader after I wrote the comment.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4996
    
    
More information about the hotspot-dev
mailing list