6642405: 4/4 src/share/instrument/JPLISAgent.c line 286: "==" found where assignment "=" expected
authordcubed
Mon, 24 Mar 2008 16:59:07 -0700
changeset 281 3da74b83e387
parent 280 988fe6228d49
child 282 bca3e5a71df1
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
jdk/src/share/instrument/JPLISAgent.c
--- 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;