hotspot/src/share/vm/classfile/verifier.cpp
changeset 26814 c4aad88451f7
parent 25955 8ccc2eddcf22
child 27003 19617f4c9dd0
--- a/hotspot/src/share/vm/classfile/verifier.cpp	Wed Sep 17 06:55:12 2014 -0700
+++ b/hotspot/src/share/vm/classfile/verifier.cpp	Fri Sep 19 08:19:04 2014 -0400
@@ -1694,8 +1694,6 @@
   constantPoolHandle cp (THREAD, _method->constants());
 
   for(int i = 0; i < exlength; i++) {
-    //reacquire the table in case a GC happened
-    ExceptionTable exhandlers(_method());
     u2 start_pc = exhandlers.start_pc(i);
     u2 end_pc = exhandlers.end_pc(i);
     u2 handler_pc = exhandlers.handler_pc(i);
@@ -1803,8 +1801,6 @@
   ExceptionTable exhandlers(_method());
   int exlength = exhandlers.length();
   for(int i = 0; i < exlength; i++) {
-    //reacquire the table in case a GC happened
-    ExceptionTable exhandlers(_method());
     u2 start_pc = exhandlers.start_pc(i);
     u2 end_pc = exhandlers.end_pc(i);
     u2 handler_pc = exhandlers.handler_pc(i);