Details
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8208909 | 8u201 | Kevin Walls | P4 | Resolved | Fixed | b01 |
JDK-8205354 | 8u192 | Kevin Walls | P4 | Resolved | Fixed | b01 |
JDK-8216729 | emb-8u201 | Kevin Walls | P4 | Resolved | Fixed | master |
JDK-8213290 | 7u221 | Kevin Walls | P4 | Resolved | Fixed | b01 |
Description
Hotspot's os_windows.cpp file declares a siglabel structure.
The number member of siglabel is declared as int, but some of the values are uint. As a result, brace-style initialization of an array of siglabel including such values requires a narrowing conversion, which is invalid in C++11, and so rejected by recent versions of Visual Studio (including VS2015).
There's also a misuse of struct siglabel in get_signal_number.
The number member of siglabel is declared as int, but some of the values are uint. As a result, brace-style initialization of an array of siglabel including such values requires a narrowing conversion, which is invalid in C++11, and so rejected by recent versions of Visual Studio (including VS2015).
There's also a misuse of struct siglabel in get_signal_number.
Attachments
Issue Links
- backported by
-
JDK-8205354 Fix os_windows siglabel
- Resolved
-
JDK-8208909 Fix os_windows siglabel
- Resolved
-
JDK-8213290 Fix os_windows siglabel
- Resolved
-
JDK-8216729 Fix os_windows siglabel
- Resolved
- relates to
-
JDK-8145549 Add support for Visual Studio 2015 Community edition
- Resolved