Hi JC,
Overall looks pretty good: I see some cases of changes on lines where there is an assignment in a conditional. Will these conflict with your other webrev? if (!NSK_JNI_VERIFY(jni, (root = - jni->GetStaticObjectField(debugeeClass, rootFieldID)) != NULL )) { + jni->GetStaticObjectField(debugeeClass, rootFieldID)) != NULL)) { I noticed a number of cases of checking if a boolean result is true or false. I brought this up once before. I forgot if you filed a separate CR for it: - if (nsk_jvmti_parseOptions(options) == NSK_FALSE ) { + if (nsk_jvmti_parseOptions(options) == NSK_FALSE) { The following is missing a space. This piece of code is probably replicated at least a dozen times. - if ( rc!= JNI_OK ) { + if (rc!= JNI_OK) { And a missing space here also. Only saw it in one place. - if ( (strcmp(name, CLASS_NAME) ==0 ) && (redefineNumber == 0) ) { + if ((strcmp(name, CLASS_NAME) ==0) && (redefineNumber == 0)) { There's a double space here: - if ( nsk_jvmti_redefineClass(jvmti_env, klass, fileName) == NSK_TRUE ) { + if (nsk_jvmti_redefineClass(jvmti_env, klass, fileName) == NSK_TRUE) { thanks, Chris On 10/24/18 1:00 PM, JC Beyler wrote:
|
- Re: RFR (L) 8212770: Remove spaces before/after () for vmTes... Alex Menkov
- Re: RFR (L) 8212770: Remove spaces before/after () for ... JC Beyler
- Re: RFR (L) 8212770: Remove spaces before/after () ... Chris Plummer
- Re: RFR (L) 8212770: Remove spaces before/after... Chris Plummer