-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
Labels
type=defectBug, not working as expectedBug, not working as expected
Milestone
Description
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
Labels
type=defectBug, not working as expectedBug, not working as expected