8210486: Unused code in check_nest_attributes function
authordholmes
Fri, 07 Sep 2018 08:14:47 -0400
changeset 51668 0a8d4f484987
parent 51667 799cddff49fe
child 51669 480486f31b3b
8210486: Unused code in check_nest_attributes function Reviewed-by: mikael, sspitsyn
src/hotspot/share/prims/jvmtiRedefineClasses.cpp
--- a/src/hotspot/share/prims/jvmtiRedefineClasses.cpp	Fri Sep 07 08:02:51 2018 -0400
+++ b/src/hotspot/share/prims/jvmtiRedefineClasses.cpp	Fri Sep 07 08:14:47 2018 -0400
@@ -699,7 +699,6 @@
   // 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();