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())); } } }