From abac5c433e024160bd70bc4a2c635df2c568312f Mon Sep 17 00:00:00 2001 From: Shawn Yang Date: Wed, 13 Nov 2024 23:58:09 +0800 Subject: [PATCH] Fix Fury serializer cache by withName (#27) --- runtime/src/main/java/io/quarkiverse/fury/FuryRecorder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/src/main/java/io/quarkiverse/fury/FuryRecorder.java b/runtime/src/main/java/io/quarkiverse/fury/FuryRecorder.java index 627a95e..daeaf8a 100644 --- a/runtime/src/main/java/io/quarkiverse/fury/FuryRecorder.java +++ b/runtime/src/main/java/io/quarkiverse/fury/FuryRecorder.java @@ -24,6 +24,7 @@ public RuntimeValue createFury( // create the Fury instance from the config FuryBuilder builder = Fury.builder(); builder.requireClassRegistration(config.requiredClassRegistration()) + .withName("Fury-" + System.nanoTime()) .withRefTracking(config.trackRef()) .withCompatibleMode(config.compatibleMode()) .withDeserializeNonexistentClass(config.deserializeNonexistentClass())