Skip to content

Conversation

@szeiger
Copy link
Owner

@szeiger szeiger commented Aug 30, 2025

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.

2 participants