# HG changeset patch # User dcubed # Date 1206403147 25200 # Node ID 3da74b83e387a2be7f6b35e65ba9d3a4b1efe52e # Parent 988fe6228d498555dd8d8bd28dd8d197fa8f7748 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 diff -r 988fe6228d49 -r 3da74b83e387 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;