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

Race in copying of libfreetype

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 9
    • infrastructure

      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).

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

              Created:
              Updated:
              Resolved:

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