-
Bug
-
Resolution: Fixed
-
P3
-
11, 17, 21, 25
-
b24
-
generic
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8357534 | 21.0.8 | Sergey Bylokhov | P3 | Resolved | Fixed | master |
JDK-8357656 | 17.0.16 | Sergey Bylokhov | P3 | Resolved | Fixed | master |
debugInit.c
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>'; use an explicit cast to silence this warning
\openjdk\jdk\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(184): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
\openjdk\jdk\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(186): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to silence this warning
\openjdk\jdk\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(186): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
\openjdk\jdk\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(188): warning C5287: operands are different enum types '<unnamed-enum-JVMTI_VERSION_1>' and '<unnamed-enum-JVMTI_VERSION_MASK_INTERFACE_TYPE>'; use an explicit cast to silence this warning
\openjdk\jdk\src\jdk.jdwp.agent\share\native\libjdwp\debugInit.c(188): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
... (rest of output omitted)
- backported by
-
JDK-8357534 [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build
-
- Resolved
-
-
JDK-8357656 [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk17u-dev/a4770b5d
-
Commit(master) openjdk/jdk21u-dev/e225254f
-
Commit(master) openjdk/jdk/5f38d1bb
-
Review(master) openjdk/jdk11u-dev/3034
-
Review(master) openjdk/jdk17u-dev/3608
-
Review(master) openjdk/jdk21u-dev/1823
-
Review(master) openjdk/jdk/25293