Hi Gary,
Looks good in general. Thank you for taking care about this! A couple of comments. It seems, with your fixes the macro NSK_JVMTI_OPTION_VAL_SEP is not needed anymore. Also, I wonder if it makes sense to continue using: 238 value = index(name, NSK_JVMTI_OPTION_VAL_SEP); Also, a cleanup is needed to remove the lines 241 and 244 from the fragment: 240 if (value == NULL) { 241 /* debug: printf ("%s\n", name); */ 242 } else { 243 *value++ = '\0'; 244 /* debug: printf ("%s=%s\n", name, value); */ 245 }Then it makes sense to refactor it: if (value != NULL) { *value++ = '\0'; }Thanks, Serguei On 12/21/18 11:31, Chris Plummer wrote: Hi Gary, |
- RFR: JDK-8211343: nsk_jvmti_parseoptions should... Gary Adams
- Re: RFR: JDK-8211343: nsk_jvmti_parseoptio... Chris Plummer
- Re: RFR: JDK-8211343: nsk_jvmti_parseo... serguei.spit...@oracle.com
- Re: RFR: JDK-8211343: nsk_jvmti_pa... gary.ad...@oracle.com
- Re: RFR: JDK-8211343: nsk_jvmt... serguei . spitsyn
- Re: RFR: JDK-8211343: nsk_jvmti_parseo... gary.ad...@oracle.com
- Re: RFR: JDK-8211343: nsk_jvmti_parseoptio... gary.ad...@oracle.com
- Re: RFR: JDK-8211343: nsk_jvmti_parseo... Chris Plummer
- Re: RFR: JDK-8211343: nsk_jvmti_pa... gary.ad...@oracle.com
- Re: RFR: JDK-8211343: nsk_jvmt... Chris Plummer
- Re: RFR: JDK-8211343: nsk_jvmti_parseo... serguei.spit...@oracle.com