--- old/src/hotspot/share/classfile/classFileParser.cpp 2020-03-11 01:21:23.187075598 -0400 +++ new/src/hotspot/share/classfile/classFileParser.cpp 2020-03-11 01:21:19.858038491 -0400 @@ -5678,7 +5678,7 @@ // can only set dynamic nest-host after static nest information is set if (cl_inst_info.dynamic_nest_host() != NULL) { - ik->set_nest_host(cl_inst_info.dynamic_nest_host(), CHECK); + ik->set_nest_host(cl_inst_info.dynamic_nest_host(), THREAD); } // note that is not safe to use the fields in the parser from this point on