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

Race in copying of libfreetype

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:

      Description

      In Copy-java.desktop.gmk, libfreetype is copied into the exploded image (if configured to do so). The recipe for this does not contain a mkdir for the parent directory of the target file. Since in the new build, this makefile may be run very early in the build, there is a potential race as the directory might not yet exist. The fix is simple, replace the explicit $(CP) with the standard $(install-file).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erikj Erik Joelsson
                Reporter:
                erikj Erik Joelsson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified