Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b115
    • CPU:
      x86
    • OS:
      windows

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: