Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune redundant module descriptor #129

Closed
sormuras opened this issue Jun 10, 2020 · 1 comment
Closed

Prune redundant module descriptor #129

sormuras opened this issue Jun 10, 2020 · 1 comment
Milestone

Comments

@sormuras
Copy link
Owner

Example from https://github.com/jbee/silk/tree/master/src/se.jbee.inject with main/java-8 and main/java-9, i.e. MR-JAR, directory layout

jar --list --file se.jbee.inject@19.1-ea.jar
module-info.class
META-INF/
META-INF/MANIFEST.MF
META-INF/versions/9/
META-INF/versions/9/module-info.class
se/
se/jbee/
se/jbee/inject/
se/jbee/inject/action/
se/jbee/inject/action/Action.class
...

Redundant entries:

META-INF/versions/9/
META-INF/versions/9/module-info.class

Solution: skip --release 9-block when call jar.

See also jbee/purejin#82

@sormuras sormuras added this to the 11.3 milestone Jun 10, 2020
@sormuras
Copy link
Owner Author

sormuras commented Jul 3, 2020

@sormuras sormuras closed this as completed Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant