RFR (XS) 8222111: exeCallerAccessTest.c fails to build: control reaches end of non-void function
Alan Bateman
Alan.Bateman at oracle.com
Mon Apr 8 12:08:19 UTC 2019
On 08/04/2019 12:54, Aleksey Shipilev wrote:
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8222111
>
> Fix:
>
> diff -r 0d7fb7f07134 test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c
> --- a/test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c Mon Apr 08 06:56:37
> 2019 +0100
> +++ b/test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c Mon Apr 08 13:53:51
> 2019 +0200
> @@ -94,4 +94,5 @@
>
> (*jvm)->DestroyJavaVM(jvm);
> + return 0;
> }
>
This test seems to having trouble bedding in. I don't know which gcc
version it falls foul of the above but the patch looks okay to me.
-Alan
More information about the core-libs-dev
mailing list