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

Cross targeting Windows

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b134
    • Verification:
      Not verified

      Description


      If jlink is run on Windows to generate a runtime image for another platform then the resulting image is DOA. Ditto if jlink is run on another platform and targets Windows.

      The issue seems to be DefaultImageBuilder determines if the target platform is Windows by looking at the value of os.name but this is the platform that jlink is running on, might be different to the target platform. This code needs to be changed to pick up the OS name from the packaged java.base module.

        Attachments

          Activity

            People

            Assignee:
            sundar Sundararajan Athijegannathan
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: