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

Multirelease jar compatible with java 8 #167

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

okafke
Copy link
Contributor

@okafke okafke commented Nov 13, 2024

Progressbar 0.10+ seems to be incompatible with java 8.
Probably due to the changes from #154. The issue asked for a multi-release jar, which the current jar is not.
All classes are bytecode version 53, java 9 and cannot be loaded with jre-8.

This PR uses the moditect plugin to place the compiled module-info inside META-INF/versions/9, while the classes are compiled as java 8 classes.

@ctongfei
Copy link
Owner

Thanks @okafke ! This is great. I'll merge this and release a new version soon.

@ctongfei ctongfei merged commit fb08d40 into ctongfei:main Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants