< prev index next >

src/hotspot/share/prims/jvmtiImpl.cpp

Print this page

        

@@ -747,15 +747,14 @@
       _result = JVMTI_ERROR_OPAQUE_FRAME;
       return false;
     }
   }
 
-  if (!check_slot_type_no_lvt(_jvf)) {
-    return false;
-  }
   if (method_oop->has_localvariable_table()) {
     return check_slot_type_lvt(_jvf);
+  } else {
+    return check_slot_type_no_lvt(_jvf);
   }
   return true;
 }
 
 void VM_GetOrSetLocal::doit() {
< prev index next >