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

semaphore_posix.hpp should not be included on OSX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • None
    • b23

      os_posix.cpp unconditionally includes semaphore_posix.hpp
      If os_posix also transitively includes the semaphore.hpp and gets semaphore_bsd.hpp then a name clash occurs because both try to create the SemaphoreImpl typedef.

            mgerdin Mikael Gerdin (Inactive)
            mgerdin Mikael Gerdin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: