Details
Description
We should be at the point soon where the checked-in classlists for seeding the CDS archive (jdk//make/data/classlist/classlist.*) can be removed, to be replaced by build changes to generate the classlist in the build based on the run of one or two simple programs.
We should look at having the classlist fed to jlink so that the resources in the jimage are ordered based on the order that they are loaded. The existing "sort-resources" plugin is close to this, it could be renamed and beefed up to consume a class file. The plugin would need to tolerate bad input, say where a class list lists a class that does not exist.
We should look at having the classlist fed to jlink so that the resources in the jimage are ordered based on the order that they are loaded. The existing "sort-resources" plugin is close to this, it could be renamed and beefed up to consume a class file. The plugin would need to tolerate bad input, say where a class list lists a class that does not exist.
Attachments
Issue Links
- blocks
-
JDK-8156756 Enable build-time use of resource ordering plugin
-
- Resolved
-
- is blocked by
-
JDK-8150044 Generate classlists at build-time
-
- Resolved
-
- relates to
-
JDK-8156766 jdk/test/tools/jlink/plugins/SorterPluginTest.java broken
-
- Closed
-
-
JDK-8156781 change to jlink has result in test failure
-
- Closed
-