Skip to content

Test and publish a multi-release jar#2

Merged
szeiger merged 1 commit into
masterfrom
wip/multi-release
Aug 30, 2025
Merged

Test and publish a multi-release jar#2
szeiger merged 1 commit into
masterfrom
wip/multi-release

Conversation

@szeiger

@szeiger szeiger commented Aug 30, 2025

Copy link
Copy Markdown
Owner

The previously published jars only worked on Java 21 because classes that need --enable-preview are not compatible between Java releases (even when the API is identical). We now still build the base contents of the jar on Java 21, but we add Java 22 overrides for all classes that have the preview flag set.

The previously published jars only worked on Java 21 because classes that need `--enable-preview` are not compatible between Java releases (even when the API is identical). We now still build the base contents of the jar on Java 21, but we add Java 22 overrides for all classes that have the preview flag set.
@szeiger szeiger merged commit eb45f34 into master Aug 30, 2025
4 checks passed
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.

1 participant