|
Hi JC,
In bytecodes001.cpp the formatting could use some improvement: 130 if (meth_tab[meth_ind].stat == JNI_TRUE) { 131 mid = env->GetStaticMethodID(cl, 132 meth_tab[meth_ind].name, meth_tab[meth_ind].sig); 133 } else { 134 mid = env->GetMethodID(cl, 135 meth_tab[meth_ind].name, meth_tab[meth_ind].sig); 136 } In getclsldr003.cpp, getfldecl001.cpp, getfldecl002.cpp, and getfldecl004.cpp, no need to compare with JNI_TRUE. Just negate the _expression_.: 98 if (env->IsSameObject(classloader, cl) != JNI_TRUE) { Otherwise looks good. Thanks for the cleanup, Chris On 9/4/18 4:12 PM, JC Beyler wrote:
|
- Re: RFR (M) 8210198: Clean up JNI_ENV_ARG for v... [email protected]
- Re: RFR (M) 8210198: Clean up JNI_ENV_ARG ... Alex Menkov
- Re: RFR (M) 8210198: Clean up JNI_ENV_ARG ... Chris Plummer
- Re: RFR (M) 8210198: Clean up JNI_ENV_... JC Beyler
- Re: RFR (M) 8210198: Clean up JNI_... Chris Plummer
