8000 New JPMS enabled releases double the size of jar file · Issue #7743 · google/guava · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New JPMS enabled releases double the size of jar file #7743
Closed
@norrisjeremy

Description

@norrisjeremy

Guava Version

33.4.5-jre

Description

The size of the new JPMS enabled releases double the size of the jar file.
This appears to be due to the fact that every class is duplicated in the multi-release directory META-INF/versions/9, instead of just putting module-info.class in the multi-release directory META-INF/versions/9.

Example

$ du -hs guava-33.4.0-jre.jar
2.9M	guava-33.4.0-jre.jar

$ du -hs guava-33.4.5-jre.jar
5.9M	guava-33.4.5-jre.jar

Expected Behavior

JPMS enabled releases should only grow barely in size, due to the addition of a single new module-info.class.

Actual Behavior

JPMS enabled releases double the size of the jar file.

Packages

No response

Platforms

No response

Checklist

  • I agree to follow the code of conduct.

  • I can reproduce the bug with the latest version of Guava available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type=defectBug, not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0