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

Race condition in build with new exploded-image-optimize target

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b141

      Description

      When introducing the exploded-image-optimize target, I tried to fix all the dependencies so that the module-info.class files would not be used by any other target at the same time as the optimization was happening. It seems I forgot about one class of such uses. Any java compilation target that links to the classes in jdk/modules is potentially affected. I have now witnessed a failure caused by this on macosx, but it shouldn't be unique to that platform.

      In the openjdk build, the demos and the test-lib are affected.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: