8153315: [JVMCI] evol_method dependencies failures should return dependencies_failed

Reviewed-by: iveresov
This commit is contained in:
Tom Rodriguez 2016-04-03 21:44:54 -07:00
parent 05de4a3fe0
commit fa667c5409

View File

@ -436,7 +436,7 @@ JVMCIEnv::CodeInstallResult JVMCIEnv::check_for_system_dictionary_modification(D
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