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

Refactor to use a new class CompletingFutureContribution #484

Merged

Conversation

garydgregory
Copy link
Member

  • Reduces boilerplate when the same pattern is used

@ok2c
Copy link
Member

ok2c commented Sep 23, 2024

@garydgregory Looks good. Please re-apply with the latest style checks.

- Reduces boilerplate when the same pattern is used
@garydgregory garydgregory force-pushed the master_refactor_future_contribution branch from a9cdfae to f1fbc53 Compare September 23, 2024 22:01
@garydgregory garydgregory merged commit 5d5177b into apache:master Sep 23, 2024
10 checks passed
@garydgregory garydgregory deleted the master_refactor_future_contribution branch September 23, 2024 23:30
@ok2c
Copy link
Member

ok2c commented Sep 24, 2024

@garydgregory According to the latest japicmp this change-set broke backward (compile) compatibility.

[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.23.0:cmp (default) on project httpcore5: There is at least one incompatibility: org.apache.hc.core5.concurrent.FutureContribution:CLASS_GENERIC_TEMPLATE_CHANGED -> [Help 1]
[ERROR] 

@ok2c
Copy link
Member

ok2c commented Sep 24, 2024

@garydgregory I already have a fix for the problem. I can adjust the change-set if it is fine with you.

@garydgregory
Copy link
Member Author

Hi @ok2c
I am ok with breaking source compatibility but obviously not binary compatibility. If you feel source compatibility is important in this case, then, yeah, some changes are needed and we should consider having the build break when that happens.

@ok2c
Copy link
Member

ok2c commented Sep 24, 2024

@garydgregory I do not think breakage of compile compatibility is warranted here. Once hc-parent is upgraded a newer version of japicmp will no longer let the build to pass in such cases.

ok2c pushed a commit that referenced this pull request Sep 24, 2024
- Reduces boilerplate when the same pattern is used
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