Creating modules with JDK8

Alan Bateman Alan.Bateman at oracle.com
Mon Nov 30 09:30:14 UTC 2015


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.


More information about the jigsaw-dev mailing list