[jdk11u-dev] Withdrawn: 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build

Antonio Vieiro duke at openjdk.org
Tue Jun 24 09:45:37 UTC 2025


On Tue, 24 Jun 2025 09:36:26 GMT, Antonio Vieiro <duke at openjdk.org> wrote:

> Backport of [JDK-8357193](https://bugs.openjdk.org/browse/JDK-8357193) to avoid warning `C5287` being treated as an error with Visual Studio 2022/17.14 [1]. This makes it possible to backport [JDK-8358538](https://bugs.openjdk.org/browse/JDK-8358538) and [JDK-8360042](https://bugs.openjdk.org/browse/JDK-8360042).
> 
> The backport is not clean because `make/lib/Lib-jdk.jdwp.agent.gmk` in JDK17 has evolved differently.
> 
> Builds with `windows-2019` & MSVC Toolset `14.29`  GHA runner. `tier1` tests are ongoing in GHA.
> 
> [1]
> 
> openjdk\jdk\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): error C2220: the following warning is treated as an error
> \openjdk\jdk\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>';

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk11u-dev/pull/3053


More information about the jdk-updates-dev mailing list