RFR: 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build

Serguei Spitsyn sspitsyn at openjdk.org
Tue May 20 10:58:53 UTC 2025


On Sun, 18 May 2025 23:44:13 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This patch suppresses compiler warning C5287 triggered in debugInit.c when building with Visual Studio 2022 version 17.14 (released a few days ago).
> 
> I’m simply disabling the warning to unblock the broken build. This change is intended to be backported to update releases.
> 
> A proper fix (e.g., explicit type cast) may be introduced later if necessary.

Marked as reviewed by sspitsyn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25293#pullrequestreview-2853707197


More information about the serviceability-dev mailing list