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

lib/classlist should be packaged in java.base.jmod

    • b144

      classlist has been shipped in JRE and JDK image such that CDS archive can be generated either at install time or by user.

      lib/classlist is currently copied to JRE and JDK image at post-link time. Ideally JDK image we build can be re-generated by the same jlink command.

      A secondary issue that java.base does not have the classlist. When we create a custom image (e.g. just with java.base), -Xshare:dump will fail with an error. classlist should belong to java.base.

      To package classlist in java.base.jmod, this would require to first build an interim java.base.jmod that will be used to build an interim image. The interim image is used to generate the classlist that will be included in the real java.base.jmod.

            erikj Erik Joelsson
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: