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

Cleanup include directives for precompiled.hpp

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      The precompiled header file is:

      src/hotspot/share/precompiled/precompiled.hpp

      The normal way to include precompiled headers is to just have:

      #include "precompiled.hpp"

      as the first directive in a file. This works because the makefiles set:

       -I$(TOPDIR)/src/hotspot/share/precompiled

       Some files instead have:

      #include "precompiled/precompiled.hpp"

      ./os/bsd/semaphore_bsd.cpp
      ./os/linux/waitBarrier_linux.cpp
      ./os/posix/semaphore_posix.cpp
      ./os/posix/signals_posix.cpp

      This should be trivially cleaned up.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dholmes David Holmes
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: