changeset 51668:0a8d4f484987

8210486: Unused code in check_nest_attributes function Reviewed-by: mikael, sspitsyn
author dholmes
date Fri, 07 Sep 2018 08:14:47 -0400
parents 799cddff49fe
children 480486f31b3b
files src/hotspot/share/prims/jvmtiRedefineClasses.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();