6642405: 4/4 src/share/instrument/JPLISAgent.c line 286: "==" found where assignment "=" expected
Summary: Fix incorrect variable assignment in initializeJPLISAgent().
Reviewed-by: ohair, sspitsyn
--- a/jdk/src/share/instrument/JPLISAgent.c Mon Mar 24 16:32:15 2008 -0700
+++ b/jdk/src/share/instrument/JPLISAgent.c Mon Mar 24 16:59:07 2008 -0700
@@ -283,7 +283,7 @@
checkCapabilities(agent);
/* check phase - if live phase then we don't need the VMInit event */
- jvmtierror == (*jvmtienv)->GetPhase(jvmtienv, &phase);
+ jvmtierror = (*jvmtienv)->GetPhase(jvmtienv, &phase);
jplis_assert(jvmtierror == JVMTI_ERROR_NONE);
if (phase == JVMTI_PHASE_LIVE) {
return JPLIS_INIT_ERROR_NONE;