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

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

      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

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

              Created:
              Updated:
              Resolved: