Skip to content

Add Automatic-Module-Name for Java 9 compatibility#49

Merged
alexarchambault merged 1 commit into
com-lihaoyi:masterfrom
florian-beetz:master
Dec 18, 2018
Merged

Add Automatic-Module-Name for Java 9 compatibility#49
alexarchambault merged 1 commit into
com-lihaoyi:masterfrom
florian-beetz:master

Conversation

@florian-beetz

Copy link
Copy Markdown
Contributor

This adds an Automatic-Module-Name to the JAR manifest, allowing the library to be used on the Java 9 module path.

If the library was used before on the Java 9 module path, the module name was derived from the filename of the JAR at runtime to sourcecode.2.12, which is not a valid Java identifier.

@tobiasdiez

Copy link
Copy Markdown

@lihaoyi @olafurpg @alexarchambault can you please merge this PR (or fix the underlying issue in another way), because otherwise the library cannot be used with Java 9 or newer. Thanks a lot!

@tobiasdiez

Copy link
Copy Markdown

Any news on this?

@alexarchambault

Copy link
Copy Markdown
Collaborator

So merging!

It seems the problem applies to most scala libraries, and it's the first PR of that kind I notice (which is why I didn't merge straightaway, AFAIC).

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.

3 participants