8153315: [JVMCI] evol_method dependencies failures should return dependencies_failed
authornever
Sun, 03 Apr 2016 21:44:54 -0700
changeset 37286 67b04a68b881
parent 37285 0473a5a36212
child 37287 c2660335bf81
child 37289 9989add27bf4
8153315: [JVMCI] evol_method dependencies failures should return dependencies_failed Reviewed-by: iveresov
hotspot/src/share/vm/jvmci/jvmciEnv.cpp
--- 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