On 29/11/2015 20:26, Simon Ochsenreither wrote:
:
How would we read these files when running on earlier JDK versions?

It depends on what the eventual format will be. In the current prototype then JMOD files are zip format so they can be easily opened with with the java.util.zip APIs and many tools.

In the case of module-info.class then ASM makes it easy. That is what the jar and jmod tools use to read and re-write it with additional attributes.

-Alan.

Reply via email to