Fix the issue where MergedAnnotation is null when retrieved in Spring 5.x#15581
Merged
zrlw merged 2 commits intoapache:3.3from Jul 25, 2025
jkoChen:fix/fix_get_merged_annotation
Merged
Fix the issue where MergedAnnotation is null when retrieved in Spring 5.x#15581zrlw merged 2 commits intoapache:3.3from jkoChen:fix/fix_get_merged_annotation
zrlw merged 2 commits intoapache:3.3from
jkoChen:fix/fix_get_merged_annotation
Conversation
… 5.x Added compatibility support for Spring 5.x in the method org.apache.dubbo.config.spring.util.AnnotationUtils#tryGetMergedAnnotation to ensure that MergedAnnotations can be correctly retrieved in Spring 5.x environments
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3.3 #15581 +/- ##
=========================================
Coverage 61.00% 61.01%
- Complexity 11495 11500 +5
=========================================
Files 1909 1909
Lines 86777 86782 +5
Branches 13093 13094 +1
=========================================
+ Hits 52942 52951 +9
+ Misses 28416 28415 -1
+ Partials 5419 5416 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
zrlw
approved these changes
Jul 23, 2025
FoghostCn
approved these changes
Jul 25, 2025
MoritzArena
pushed a commit
to MoritzArena/dubbo
that referenced
this pull request
Sep 1, 2025
… 5.x (apache#15581) Added compatibility support for Spring 5.x in the method org.apache.dubbo.config.spring.util.AnnotationUtils#tryGetMergedAnnotation to ensure that MergedAnnotations can be correctly retrieved in Spring 5.x environments
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Added compatibility support for Spring 5.x in the method org.apache.dubbo.config.spring.util.AnnotationUtils#tryGetMergedAnnotation to ensure that MergedAnnotations can be correctly retrieved in Spring 5.x environments
What is the purpose of the change?
PR of the issue : #14104
I fixed this issue in Dubbo 3.2, but the code was reverted in version 3.3, so I need to fix it again.
Checklist