8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792

Made the assert less restrictive.

Reviewed-by: dholmes, dcubed, sspitsyn
This commit is contained in:
Chris Plummer 2016-09-21 12:53:16 -07:00
parent 9cc42b8afa
commit dcde22fc99

View File

@ -487,8 +487,8 @@ static jvmtiError JNICALL
</xsl:text>
<xsl:if test="$trace='Trace'">
<xsl:text> if (trace_flags) {
log_trace(jvmti)("[-] %s %s", func_name,
JvmtiUtil::error_name(JVMTI_ERROR_WRONG_PHASE));
log_trace(jvmti)("[-] %s %s(%d)", func_name,
JvmtiUtil::error_name(JVMTI_ERROR_WRONG_PHASE), JvmtiEnv::get_phase());
}
</xsl:text>
</xsl:if>