RFR: 8266173: -Wmaybe-uninitialized happens in jni_util.c
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Wed Apr 28 05:59:06 UTC 2021
We can see compiler warnings in jni_util.c as following on GCC 11. `buf` should be initialized.
-------------
Commit messages:
- 8266173: -Wmaybe-uninitialized happens in jni_util.c
Changes: https://git.openjdk.java.net/jdk/pull/3742/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3742&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8266173
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/3742.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3742/head:pull/3742
PR: https://git.openjdk.java.net/jdk/pull/3742
More information about the core-libs-dev
mailing list