Re: RFR: 8261300: jpackage: rewrite while(0)/while(false) to proper blocks [v3]

2021-02-09 Thread Alexey Semenyuk
On Tue, 9 Feb 2021 08:58:23 GMT, Aleksey Shipilev wrote: >> After JDK-8254702, SonarCloud instance complains about blocks like these: >> "Change this loop body so that it can be executed more than once." >> >> int initJvmlLauncherData(JvmlLauncherData* ptr) const { >> // Store path

Re: RFR: 8261300: jpackage: rewrite while(0)/while(false) to proper blocks [v3]

2021-02-09 Thread Aleksey Shipilev
> After JDK-8254702, SonarCloud instance complains about blocks like these: > "Change this loop body so that it can be executed more than once." > > int initJvmlLauncherData(JvmlLauncherData* ptr) const { > // Store path to JLI library just behind JvmlLauncherData header. >