You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/02/25 09:58:36 UTC
[dubbo] branch master updated: fix:fix bug @Wrapper without
annotations @Retention cause extension set matches and mismatches invalid
(#6947)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new d0b894d fix:fix bug @Wrapper without annotations @Retention cause extension set matches and mismatches invalid (#6947)
d0b894d is described below
commit d0b894d9dabb062995f35ef0b9d54c7caeb23d75
Author: soft641400589 <64...@qq.com>
AuthorDate: Thu Feb 25 17:56:52 2021 +0800
fix:fix bug @Wrapper without annotations @Retention cause extension set matches and mismatches invalid (#6947)
---
.../src/main/java/org/apache/dubbo/common/extension/Wrapper.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/extension/Wrapper.java b/dubbo-common/src/main/java/org/apache/dubbo/common/extension/Wrapper.java
index 670aae6..2d5780d 100644
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/extension/Wrapper.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/common/extension/Wrapper.java
@@ -16,9 +16,13 @@
*/
package org.apache.dubbo.common.extension;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
/**
* The annotated class will only work as a wrapper when the condition matches.
*/
+@Retention(RetentionPolicy.RUNTIME)
public @interface Wrapper {
/**