RFR (XS): 8214208: Nestmate package validation logging/exception should include classloader information

David Holmes david.holmes at oracle.com
Tue Nov 27 21:58:46 UTC 2018


Thanks Mandy!

Not sure it addresses the exact case that you raised, but it does help 
with those tests that load nested classes in a custom loader :)

David

PS. Once this is pushed I'll re-sync valhalla forest with mainline.

On 28/11/2018 7:55 am, Mandy Chung wrote:
> Looks good.  Thanks for improving the exception message.
> 
> Mandy
> 
> On 11/22/18 1:55 AM, David Holmes wrote:
>> bug: https://bugs.openjdk.java.net/browse/JDK-8214208
>> webrev: http://cr.openjdk.java.net/~dholmes/8214208/webrev/
>>
>> This is a simple change to add classloader information to the logging 
>> and exceptions related to obtaining the nest-host within the VM.
>>
>> This makes it simpler to see when tests fail due to nested types being 
>> loaded by different classloaders.
>>
>> Of course the test had to be updated to account for the additional 
>> information.
>>
>> Testing: runtime/Nestmates
>>          tier 1 - 2
>>
>> Thanks,
>> David
> 


More information about the hotspot-runtime-dev mailing list