I only did it when there were repercussions to the change
of if (.* == NSK_TRUE).
But really I was thinking that success should be a bool
then. However, success was assigned also by:
success = checkTime(jvmti, &time, &prevTime, "VM_DEATH callback");
So I went to transform checkTime to return a boolean, and that rippled into changing the NSK_FALSE to false as well.
I can reduce the scope of this webrev to only being the if statement if you prefer, I was just working on getting the various elements to bool instead of int and NSK_TRUE/NSK_FALSE.
Another solution would be to maybe augment the scope of the bug item to : Move NSK_TRUE/NSK_FALSE to true/false; and this webrev as a side-effect covers all the "if (.* NSK_TRUE)" cases.
What do you think?
Jc