Skip to content

Conversation

@mbroshi-stripe
Copy link
Contributor

@mbroshi-stripe mbroshi-stripe commented Dec 1, 2025

Why?

It was brought up in #1220 (4.5 years ago!) that our stripe-java jar is missing an Automatic-Module-Name manifest entry. For Java 9+, that means that consumers must use an inferred name of the module based on the compiled jar name, which is brittle. By adding Automatic-Module-Name: stripe.java, consumers and their tooling can confidently depend on that module name.

In the future, we can consider using a more conventional name like com.stripe, but that could technically break some users that have an explicit requires stripe.java; in their manifest-info.java.

What?

  • Adds Automatic-Module-Name: stripe.java to the jar's manifest entry

@mbroshi-stripe mbroshi-stripe requested a review from a team as a code owner December 1, 2025 22:14
@mbroshi-stripe mbroshi-stripe requested review from prathmesh-stripe and removed request for a team December 1, 2025 22:14
@mbroshi-stripe mbroshi-stripe merged commit 7a86510 into master Dec 2, 2025
14 checks passed
@mbroshi-stripe mbroshi-stripe deleted the mbroshi/automatic-module-name branch December 2, 2025 18:12
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