RFR: 8266176: -Wmaybe-uninitialized happens in libArrayIndexOutOfBoundsExceptionTest.c
David Holmes
dholmes at openjdk.java.net
Wed Apr 28 12:51:51 UTC 2021
On Wed, 28 Apr 2021 01:23:16 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
> We can see some compiler warnings in libArrayIndexOutOfBoundsExceptionTest.c as following on GCC 11. `content` should be initialized.
Seems okay.
Thanks,
David
test/hotspot/jtreg/runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/libArrayIndexOutOfBoundsExceptionTest.c line 2:
> 1: /*
> 2: * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
Oracle copyright uses a two year format so this should be "2019, 2021,"
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3744
More information about the hotspot-runtime-dev
mailing list