Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-2829

Rebuild the lib/modules jimage against the updated jmods

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • RebuildJImage
    • False
    • Hide

      None

      Show
      None
    • False
    • To Do

      Following OPENJDK-1668, which rebuilt the jmods against the stripped native libraries, we need to also rebuild lib/modules and the CDS archives with the updated jmods.

      This is particularly important on java-21-openjdk where there is an additional set of native binaries:

      $ for file in $(find jdk/modules/ -type f); do if file ${file} | cut -d ':' -f 2 | grep -q 'ELF'; then echo "${file} is ELF"; fi; done
      jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/jpackageapplauncher is ELF
      jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/libjpackageapplauncheraux.so is ELF

      which are included as resources only in the jmods

              rhn-engineering-ahughes Andrew Hughes
              rhn-engineering-ahughes Andrew Hughes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: