RFR: 8266176: -Wmaybe-uninitialized happens in libArrayIndexOutOfBoundsExceptionTest.c

Yasumasa Suenaga ysuenaga at openjdk.java.net
Wed Apr 28 07:21:57 UTC 2021


We can see some compiler warnings in libArrayIndexOutOfBoundsExceptionTest.c as following on GCC 11. `content` should be initialized.

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

Commit messages:
 - 8266176: -Wmaybe-uninitialized happens in libArrayIndexOutOfBoundsExceptionTest.c

Changes: https://git.openjdk.java.net/jdk/pull/3744/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3744&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266176
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3744.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3744/head:pull/3744

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


More information about the hotspot-runtime-dev mailing list