From 5f3b57d7b5eac8650e8cf9a64caa6dd5bb19208d Mon Sep 17 00:00:00 2001 From: Zdenek Jonas Date: Thu, 24 Oct 2024 10:06:20 +0200 Subject: [PATCH] how to add JDK17 Handlers to serializer foundation --- .../storage/pages/addendum/specialized-type-handlers.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/modules/storage/pages/addendum/specialized-type-handlers.adoc b/docs/modules/storage/pages/addendum/specialized-type-handlers.adoc index 9817626e..b81b8edc 100644 --- a/docs/modules/storage/pages/addendum/specialized-type-handlers.adoc +++ b/docs/modules/storage/pages/addendum/specialized-type-handlers.adoc @@ -131,3 +131,10 @@ foundation.onConnectionFoundation(BinaryHandlersJDK8::registerJDK8TypeHandlers); final EmbeddedStorageFoundation foundation = EmbeddedStorage.Foundation(); foundation.onConnectionFoundation(BinaryHandlersJDK17::registerJDK17TypeHandlers); ---- + +For serializer: +[source, java] +---- +final SerializerFoundation foundation = SerializerFoundation.New(); +BinaryHandlersJDK17.registerJDK17TypeHandlers(foundation); +----