8153315: [JVMCI] evol_method dependencies failures should return dependencies_failed
Reviewed-by: iveresov
--- a/hotspot/src/share/vm/jvmci/jvmciEnv.cpp Fri Apr 01 16:56:49 2016 +0300
+++ b/hotspot/src/share/vm/jvmci/jvmciEnv.cpp Sun Apr 03 21:44:54 2016 -0700
@@ -436,7 +436,7 @@
stringStream st(buffer, O_BUFLEN);
deps.print_dependency(witness, true, &st);
*failure_detail = st.as_string();
- if (env == NULL || counter_changed) {
+ if (env == NULL || counter_changed || deps.type() == Dependencies::evol_method) {
return JVMCIEnv::dependencies_failed;
} else {
// The dependencies were invalid at the time of installation