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

jlink should create the jimage file in the native endian for the target platform

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • None
    • tools
    • None
    • b07

    Description

      jlink accepts `--endian <little|big>` option to specify the byte order of the jimage file. This requires the user's help to generate a run-time image targeted for a platform different than the build platform.

      We should consider jlink to determine the endianness from the target java.base module and drop `--endian` option. The `ModuleTarget` attribute is not enough but a short term fix might be for jlink to map the known ModuleTarget values to endianness.

      See the discussion in https://git.openjdk.org/jdk/pull/11943

      Attachments

        Issue Links

          Activity

            People

              jpai Jaikiran Pai
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: