Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Switch to JDK 18 as minumum supported version#29

Merged
piotrrzysko merged 3 commits into
simdjson:mainsimdjson/simdjson-java:mainfrom
deejay1:ltsdeejay1/simdjson-java:ltsCopy head branch name to clipboard
Oct 23, 2023
Merged

Switch to JDK 18 as minumum supported version#29
piotrrzysko merged 3 commits into
simdjson:mainsimdjson/simdjson-java:mainfrom
deejay1:ltsdeejay1/simdjson-java:ltsCopy head branch name to clipboard

Conversation

@deejay1
Copy link
Copy Markdown
Contributor

@deejay1 deejay1 commented Oct 16, 2023

Switches to 18 as base release having the minimum supported features. Adds matrix build for JDK versions up to 21.

@piotrrzysko
Copy link
Copy Markdown
Member

Thanks for the PR.

I'm fine with adding Java 21 to the CI, but unless there's a reason to drop support for earlier versions, I'd prefer not to do so. Some users would like to even support Java 17, as mentioned in issue #28.

My suggestion would be to create a separate GitHub job that utilizes Java 21 for building and testing the library. We can set this up using a matrix.

Set up matrix build, for versions 18 to 21
@deejay1 deejay1 changed the title Switch to LTS Java 21 release Switch to JDK 18 as minumum supported version Oct 17, 2023
@deejay1
Copy link
Copy Markdown
Contributor Author

deejay1 commented Oct 17, 2023

Thanks for the PR.

I'm fine with adding Java 21 to the CI, but unless there's a reason to drop support for earlier versions, I'd prefer not to do so. Some users would like to even support Java 17, as mentioned in issue #28.

My suggestion would be to create a separate GitHub job that utilizes Java 21 for building and testing the library. We can set this up using a matrix.

Switched to a matrix build and to 18 as the minimal version with all required features that are used now.

Copy link
Copy Markdown
Member

@piotrrzysko piotrrzysko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the README there are two places where the required Java version is mentioned:

If we want to start supporting Java 18, we need to update the README.

Comment thread .github/workflows/publish.yml Outdated
Comment thread build.gradle Outdated
@piotrrzysko
Copy link
Copy Markdown
Member

Looks good. Thanks again!

@piotrrzysko piotrrzysko merged commit 93857a7 into simdjson:main Oct 23, 2023
Squiry pushed a commit to Squiry/simdjson-java that referenced this pull request Feb 29, 2024
* Drop minimum supported JDK version to 18

Set up matrix build, for versions 18 to 21

* Drop publish to JDK 18 and don't require adoptium

* Update README.md
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.