changeset 37286:67b04a68b881

8153315: [JVMCI] evol_method dependencies failures should return dependencies_failed Reviewed-by: iveresov
author never
date Sun, 03 Apr 2016 21:44:54 -0700
parents 0473a5a36212
children c2660335bf81 9989add27bf4
files hotspot/src/share/vm/jvmci/jvmciEnv.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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