RFR (XS) 8222111: exeCallerAccessTest.c fails to build: control reaches end of non-void function

Aleksey Shipilev shade at redhat.com
Mon Apr 8 13:23:44 UTC 2019

On 4/8/19 3:08 PM, David Holmes wrote:
> +1

Thanks, I am going to push this under triviality rule.

> Strange that an old gcc complains but the newer ones that add more and more warnings each time, let
> this slip through :(

Yeah, compilers :/

> Arguably all the exit(-1) in the main method should just be return -1 instead - but that's a
> different matter.

Yes. I submitted https://bugs.openjdk.java.net/browse/JDK-8222120 for other cases that
(surprisingly) do not break the build (yet?).


More information about the core-libs-dev mailing list