Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8150688

Fix os_windows siglabel

XMLWordPrintable

    • b115
    • x86
    • windows

        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.

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: