From 7800adb84d74aa0ed0ac2230a1f3d26f564a169a Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 26 Aug 2020 10:55:51 +0200 Subject: [PATCH] Don't use .toString() directly on Type, use .name().toString() --- .../java/io/quarkus/jackson/deployment/JacksonProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/jackson/deployment/src/main/java/io/quarkus/jackson/deployment/JacksonProcessor.java b/extensions/jackson/deployment/src/main/java/io/quarkus/jackson/deployment/JacksonProcessor.java index 50568388b0f8f..3908aa8582dfb 100755 --- a/extensions/jackson/deployment/src/main/java/io/quarkus/jackson/deployment/JacksonProcessor.java +++ b/extensions/jackson/deployment/src/main/java/io/quarkus/jackson/deployment/JacksonProcessor.java @@ -118,7 +118,7 @@ CapabilityBuildItem register() { AnnotationValue usingValue = deserializeInstance.value("using"); if (usingValue != null) { // the Deserializers are constructed internally by Jackson using a no-args constructor - reflectiveClass.produce(new ReflectiveClassBuildItem(false, false, usingValue.asClass().toString())); + reflectiveClass.produce(new ReflectiveClassBuildItem(false, false, usingValue.asClass().name().toString())); } } @@ -129,7 +129,7 @@ CapabilityBuildItem register() { AnnotationValue usingValue = serializeInstance.value("using"); if (usingValue != null) { // the Deserializers are constructed internally by Jackson using a no-args constructor - reflectiveClass.produce(new ReflectiveClassBuildItem(false, false, usingValue.asClass().toString())); + reflectiveClass.produce(new ReflectiveClassBuildItem(false, false, usingValue.asClass().name().toString())); } } }