Resolve initialization reordering issues on Windows for libawt and libsaproc

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: None
    • Component/s: hotspot
    • b09

      Small, trivial change to resolve initialization order reordering in constructors, required for JDK-8288293

      gcc will fail to compile a Windows JDK with the following errors, which causes a build failure eventually:
      GDIHashtable.cpp: m_nCounter is initialized before m_nDestroyPeriod [-Werror=reorder] for libawt
      sawindbg.cpp: bytePtr is initialized before releaseMode [-Werror=reorder] for libsaproc

      Moving the initializer list to the correct order to resolve this build failure is trivial, and is done so in this change

            Assignee:
            Julian Waters
            Reporter:
            Julian Waters
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: