-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CALCITE-6587] Support Java 23 and Guava 33.3.0 #3971
Closed
Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d547a17
[CALCITE-6587] Support Java 23 and Guava 33.3.0
julianhyde bffb799
Asia/Tokyo time zone has changed in JDK 23
julianhyde 8f6e93e
Disable CalciteRemoteDriverTest until [CALCITE-6588] is fixed in Avatica
julianhyde 62d9f92
More TZ
julianhyde e303160
Lint
julianhyde 466f590
Skip --scan in JDK 23
julianhyde 9f4b50e
Default oldest Guava
julianhyde 870a171
Revise
julianhyde 8cbe790
Oops
julianhyde c0366ac
Oops2
julianhyde 5207754
Oops3
julianhyde 218f2c9
Oops4
julianhyde 8f06158
Revert main.yml
julianhyde 9373080
Update Hadoop from 2.7.5 to 2.10.2
julianhyde 28a9c72
Disable Pig/Hadoop tests on JDK 23 and higher
julianhyde ddc741e
Disable RemotePreparedStatementParametersTest on JDK 23 or higher
julianhyde a5f6189
Disable SparkAdapterTest
julianhyde e4b608e
In GitHub workflow, add GUAVA_MIN and GUAVA_MAX variables
julianhyde 24c3bb9
Oops
julianhyde 97461d8
In workflow, use variables, and clean up job descriptions
julianhyde 868cb74
Restore --scan
julianhyde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the Javadoc, throwIfInstanceOf is not a 1:1 replacement for propagateIfPossible.
The old code would throw other RunTime exceptions directly, while the new one wraps them.
This may be a good thing, but the commit message wording does not suggest behavioural changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't aware that the methods have different behavior. Thanks for bringing it to my attention.
However, there is no obligation to document behavioral changes that occur in 'behavior is unspecified' territory.
This block - like pretty much every
catch (Throwable)
block - is in that territory, and I didn't think too much about which use cases would be affected because - by definition - there are no documented, tested use cases.