Skip to content
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

Add JDK-20 support #986

Merged
merged 3 commits into from
Jun 14, 2023
Merged

Add JDK-20 support #986

merged 3 commits into from
Jun 14, 2023

Conversation

reta
Copy link
Contributor

@reta reta commented Jun 14, 2023

Description

Add JDK-20 support

Issues Resolved

Part of #891

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@reta
Copy link
Contributor Author

reta commented Jun 14, 2023

@dhrubo-os should fix the delombok failures

b4sjoo
b4sjoo previously approved these changes Jun 14, 2023
@b4sjoo
Copy link
Collaborator

b4sjoo commented Jun 14, 2023

Nice

@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Merging #986 (fa856c3) into main (26c1db0) will decrease coverage by 0.81%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #986      +/-   ##
============================================
- Coverage     84.73%   83.92%   -0.81%     
- Complexity     1630     1691      +61     
============================================
  Files           135      138       +3     
  Lines          6078     6425     +347     
  Branches        596      646      +50     
============================================
+ Hits           5150     5392     +242     
- Misses          669      753      +84     
- Partials        259      280      +21     
Flag Coverage Δ
ml-commons 83.92% <ø> (-0.81%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 17 files with indirect coverage changes

@reta
Copy link
Contributor Author

reta commented Jun 14, 2023

Nice

Let me try to add JDK-20 to the matrix

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
b4sjoo
b4sjoo previously approved these changes Jun 14, 2023
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@dhrubo-os
Copy link
Collaborator

dhrubo-os commented Jun 14, 2023

@dhrubo-os should fix the delombok failures

Thanks for raising the PR. Could you please raise the PR for 2.x branch first (if possible)? Our most of the updated codes (including tests) are in 2.x branch.

Then we can backport your PR to main [This is what we are doing for this repo usually]

@b4sjoo
Copy link
Collaborator

b4sjoo commented Jun 14, 2023

2.x also moved to jdk20? @dhrubo-os

@dhrubo-os
Copy link
Collaborator

Oh my bad. Forgot about that. @reta NVM ignore my comment, lol

@@ -19,6 +19,10 @@ dependencies {
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.4.0'
}

lombok {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just curious: should we remove this: id "io.freefair.lombok"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just curious: should we remove this: id "io.freefair.lombok"?

The plugin is still needed, but it allows to override the lombok version (this is taken from the plugin docs)

@dhrubo-os dhrubo-os merged commit bdd1388 into opensearch-project:main Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants