JDK-8372038 : [lworld] Update ExplodedImage to use preview mode correctly
  • Type: Sub-task
  • Component: tools
  • Sub-Component: jlink
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2025-11-18
  • Updated: 2025-11-21
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.

To download the current JDK release, click here.
Other
tbdUnresolved
Description
The src/java.base/share/classes/jdk/internal/jrtfs/ExplodedImage.java class should be updated to handle preview mode and the existence of preview resources in the same way as ImageReader.

Additionally it seems desirable to make both classes share common tests, since they are both implementations of the SystemImage API and should behave identically (subject to file system quirks perhaps).
Comments
A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1743 Date: 2025-11-18 00:10:39 +0000
20-11-2025