This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git


The following commit(s) were added to refs/heads/master by this push:
     new 892c2e0  improve jackson-type / guava type-token bridging
892c2e0 is described below

commit 892c2e098594f130706cb9e7852365711baaa87d
Author: Alex Heneveld <[email protected]>
AuthorDate: Tue Jan 25 00:05:20 2022 +0000

    improve jackson-type / guava type-token bridging
---
 .../org/apache/brooklyn/core/resolve/jackson/BrooklynJacksonType.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/src/main/java/org/apache/brooklyn/core/resolve/jackson/BrooklynJacksonType.java
 
b/core/src/main/java/org/apache/brooklyn/core/resolve/jackson/BrooklynJacksonType.java
index 44d66d5..02d0db7 100644
--- 
a/core/src/main/java/org/apache/brooklyn/core/resolve/jackson/BrooklynJacksonType.java
+++ 
b/core/src/main/java/org/apache/brooklyn/core/resolve/jackson/BrooklynJacksonType.java
@@ -61,7 +61,7 @@ public class BrooklynJacksonType extends SimpleType 
implements TypeVariable<Gene
 
     @Override
     public Type[] getBounds() {
-        return new Type[0];
+        return new Type[] { getRawClass() };
     }
 
     @Override

Reply via email to