On Thu, 9 May 2024 19:48:53 GMT, Sonia Zaldana Calles <szald...@openjdk.org> 
wrote:

> > This may be food for another RFE, to keep this patch minimal. But a good 
> > solution, to me, would be like this:
> > 
> > * have the same logic for return codes (1 = error, 0 = success) to ease 
> > understanding
> > * have clearly named constants (e.g. "LAUNCHER_OK" 0, "LAUNCHER_ERR" = 1)
> > * have the LEAVE macro take the launcher return code as argument
> > * have all xxx_LEAVE macros pass in LAUNCHER_ERR to LEAVE
> > * call the final LEAVE with LAUNCHER_OK
> > * optionally, define something like "LEAVE_ERR" and "LEAVE_OK" that call 
> > LEAVE with either LAUNCHER_ERR or LAUNCHER_OK, for more concise coding.
> > 
> > For this patch, I think the return code logic is okay, but I would feel 
> > better if others double-checked.
> 
> @tstuefe Agreed, I can look into opening another issue to track this after we 
> fix the regression.

Thank you. Please do. You can just copy-paste my rant into the bug description.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18786#issuecomment-2104186742

Reply via email to