8210486: Unused code in check_nest_attributes function

Reviewed-by: mikael, sspitsyn
This commit is contained in:
David Holmes 2018-09-07 08:14:47 -04:00
parent 59d3b2ccfa
commit b66c67675d

View file

@ -699,7 +699,6 @@ static jvmtiError check_nest_attributes(InstanceKlass* the_class,
// Check whether the class NestHost attribute has been changed.
Thread* thread = Thread::current();
ResourceMark rm(thread);
JvmtiThreadState *state = JvmtiThreadState::state_for((JavaThread*)thread);
u2 the_nest_host_idx = the_class->nest_host_index();
u2 scr_nest_host_idx = scratch_class->nest_host_index();