JDK-8058559 : Tests to verify contents of modular image
Type:Sub-task
Component:core-libs
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2014-09-16
Updated:2016-01-06
Resolved:2014-09-19
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The modular image format is new and should have a set of tests that verify that all classes and resources in the image can be read and that the contents match the original classes and resources.
Comments
Changeset URL: http://hg.openjdk.java.net/jigsaw/m2/jdk/rev/f5b029a53bfd
When this test runs with no argument (run by jtreg), it will load all classes in the runtime to force all classes are read. This is an initial version and will determine if it needs to be adjusted and make it suitable for regression use.
The test also takes the path to the exploded modules as an argument in which case it will compare each file (classes and resources) from the exploded modules with the entry of the same name in jimage.