Integrated: 8286424: GetVersionEx is deprecated

Kim Barrett kbarrett at openjdk.java.net
Thu May 12 22:33:46 UTC 2022


On Mon, 9 May 2022 20:56:25 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 4b8a66a5
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/4b8a66a5ff511c0476096a52e999d5b168bb0cd3
Stats:     27 lines in 1 file changed: 1 ins; 24 del; 2 mod

8286424: GetVersionEx is deprecated

Reviewed-by: dholmes, hseigel

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

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


More information about the hotspot-runtime-dev mailing list