--- old/src/hotspot/share/classfile/classFileParser.cpp 2020-03-06 00:25:48.132453499 -0500 +++ new/src/hotspot/share/classfile/classFileParser.cpp 2020-03-06 00:25:47.002441175 -0500 @@ -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