RFR: JDK-8262199: issue in jli args.c [v3]

Matthias Baesken mbaesken at openjdk.java.net
Fri Feb 26 08:31:01 UTC 2021


On Thu, 25 Feb 2021 17:46:42 GMT, Christoph Langer <clanger at openjdk.org> wrote:

>> I think that did not work because it does not fit the param types of reportAndExit but I can simplify it otherwise.
>
> Ah, I see.
> Maybe it's a bit bike-sheddy but as you're using reportAndExit only twice now, wouldn't it be less convoluted if you use
> JLI_ReportMessage(...);
> exit(1);
> inline in both places?

Yes I agree,  see my latest change.

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

PR: https://git.openjdk.java.net/jdk/pull/2692


More information about the core-libs-dev mailing list