RFR: 8286424: GetVersionEx is deprecated
Kim Barrett
kbarrett at openjdk.java.net
Mon May 9 21:03:41 UTC 2022
Please review this change to explicitly disable deprecation warnings for the
two uses of GetVersionEx in HotSpot code. This is a step toward being able to
remove the global (to HotSpot) disable of deprecation warnings for Windows.
(It is because of that global disable that these uses don't currently generate
warnings.)
There are uses of this function in non-HotSpot parts of the JDK. These are not
being changed. They all disable the warning in some fashion, as appropriate to
that area's usage. This change is only about HotSpot usage, and wanting to
remove global deprecation disabling from HotSpot builds.
-------------
Commit messages:
- suppress deprecation warning for GetVersionEx
Changes: https://git.openjdk.java.net/jdk/pull/8611/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8611&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8286424
Stats: 17 lines in 1 file changed: 9 ins; 3 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/8611.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8611/head:pull/8611
PR: https://git.openjdk.java.net/jdk/pull/8611
More information about the hotspot-runtime-dev
mailing list