[build] Add support for jdk17 and jdk21 and add these jdks to CI #1836
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE:This PR is based on PR [hotfix][tests] Fix unstable test IcebergRecordReaderTest#testReadLogTable
I can rebase it once the first one is mergedPurpose
Add support for jdk17, 21 and also add them to ci in order to be sure it is able to build and pass tests
Brief change log
1.25.0 - first googleJavaFormat where jdk11 was dropped (for more details https://github.com/google/google-java-format/releases?page=1)
2.xx.x - jdk11 is still supported
3.0.0 is the first where jdk11 was dropped (for more details https://github.com/diffplug/spotless/releases?page=1)
skip.on.java8will not help (not sure, may be completely remove this property?)add-exportsTests
existing + with newer jdks
API and Format
no
Documentation
no