ModuleFileHeader csize

Mandy Chung mandy.chung at oracle.com
Thu Apr 14 12:37:58 PDT 2011


  On 04/14/11 06:14, Sean Mullan wrote:
> The ModuleFileHeader csize attribute is currently set to the size of 
> the module file minus the size of the ModuleFileHeader. Is that 
> correct? Shouldn't it be the size of the module file?
>

According to the module file format spec:
    http://cr.openjdk.java.net/~mr/jigsaw/notes/module-file-format/

csize is specified as the size of the entire file, compressed.  Possibly 
a bug.  There isn't any obvious reason to me why it has to the size of 
the module file minus the size of the ModuleFileHeader.  Maybe Dalibor 
can confirm.

Mandy



More information about the jigsaw-dev mailing list