-
Bug
-
Resolution: Fixed
-
P3
-
9
-
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.
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.