Skip to content

[Bug]org.apache.dubbo.config.spring.util.AnnotationUtils 派生注解的属性无法merge #14104

@luoning810

Description

@luoning810

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

3.2.11

Steps to reproduce this issue

org.springframework.core.annotation.AnnotatedElementUtils#tryGetMergedAnnotation 注解属性merge未生效

What you expected to happen

image 问题:findMethod 结果为null

推测原因:通过反射获取 org.springframework.core.annotation.AnnotatedElementUtils#getMergedAnnotation方法时入参错误。
spring 版本:5.3.x
image

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions