RFR (S) 8228485: JVM crashes when bootstrap method for condy triggers loading of class whose static initializer throws exception

David Holmes david.holmes at oracle.com
Tue Jul 23 13:15:12 UTC 2019


Hi Coleen,

On 23/07/2019 9:59 pm, coleen.phillimore at oracle.com wrote:
> Summary: Add case for JVM_CONSTANT_Dynamic in error_message function.

Fix seems reasonable. Begs the question as to whether there are other 
missing cases for this code?

Can this manifest with regular Java sources? I'm unclear exactly how 
this is being manifested in the jasm file.

Thanks,
David

> Tested locally with hotspot and java/lang/invoke condy tests and new 
> test which exercises the code.  This might be needed for jdk 13.
> 
> open webrev at http://cr.openjdk.java.net/~coleenp/2019/8228485.01/webrev
> bug link https://bugs.openjdk.java.net/browse/JDK-8228485
> 
> Thanks,
> Coleen


More information about the hotspot-runtime-dev mailing list