--- a/hotspot/src/share/vm/c1/c1_ValueStack.hpp Thu Feb 20 16:38:45 2014 -0500
+++ b/hotspot/src/share/vm/c1/c1_ValueStack.hpp Sat Feb 22 10:22:05 2014 +0100
@@ -75,7 +75,7 @@
void set_caller_state(ValueStack* s) {
assert(kind() == EmptyExceptionState ||
- (Compilation::current()->env()->jvmti_can_access_local_variables() && kind() == ExceptionState),
+ (Compilation::current()->env()->should_retain_local_variables() && kind() == ExceptionState),
"only EmptyExceptionStates can be modified");
_caller_state = s;
}