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

Resolve initialization reordering issues on Windows for libawt and libsaproc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • 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

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

              Created:
              Updated:
              Resolved: