Skip to content

Commit

Permalink
Merge pull request #44677 from geoand/#44641
Browse files Browse the repository at this point in the history
Properly reset Quarkus populated Jackson ObjectMapper
  • Loading branch information
geoand authored Nov 25, 2024
2 parents 292911c + a033231 commit 36be0e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public JsonCodec codec() {
try {
// First try the Quarkus databind codec
codec = new QuarkusJacksonJsonCodec();
COUNTER.incrementAndGet();
} catch (Throwable t1) {
// Then try the Vert.x databind codec
try {
Expand All @@ -29,7 +30,6 @@ public JsonCodec codec() {
codec = new JacksonCodec();
}
}
COUNTER.incrementAndGet();
return codec;
}

Expand Down

0 comments on commit 36be0e0

Please sign in to comment.