You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2022/01/25 00:05:41 UTC

[brooklyn-server] branch master updated: improve jackson-type / guava type-token bridging

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 <al...@cloudsoftcorp.com>
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