Hi JC,
I didn't realize you intended to move all the strings into a "const char*" first. Seems unnecessary, and I think not as easy to read: 138 const char* debug_str = 139 "TEST FAILED: JVMTI_EVENT_CLASS_LOAD event received for\n" 140 "\t a primitive class/array of primitive types with the signature \"%s\"\n"; 141 NSK_COMPLAIN1(debug_str, sig); vs 138 NSK_COMPLAIN1("TEST FAILED: JVMTI_EVENT_CLASS_LOAD event received for\n" 139 "\t a primitive class/array of primitive types with the signature \"%s\"\n", 140 sig); or 138 NSK_COMPLAIN1( 139 "TEST FAILED: JVMTI_EVENT_CLASS_LOAD event received for\n" 140 "\t a primitive class/array of primitive types with the signature \"%s\"\n", 141 sig); thanks, Chris On 9/21/18 8:00 AM, JC Beyler wrote:
|
- Re: RFR (M) 8210689: Remove the multi-line old C style for s... Chris Plummer
- Re: RFR (M) 8210689: Remove the multi-line old C style ... Chris Plummer
- Re: RFR (M) 8210689: Remove the multi-line old C st... Chris Plummer
- Re: RFR (M) 8210689: Remove the multi-line old ... JC Beyler
- Re: RFR (M) 8210689: Remove the multi-line ... Alex Menkov
- Re: RFR (M) 8210689: Remove the multi-... Alex Menkov
- Re: RFR (M) 8210689: Remove the mu... JC Beyler
- Re: RFR (M) 8210689: Remove th... Chris Plummer
- Re: RFR (M) 8210689: Remove th... Chris Plummer