From b80a3cffed131b4329798f40a70954794b1b4cf7 Mon Sep 17 00:00:00 2001 From: Al Arafat Tanin <140037180+rng70-or@users.noreply.github.com> Date: Mon, 8 Jan 2024 14:39:27 +0600 Subject: [PATCH] fix: serialization error due to non-transient variable inside serializable class --- api/src/main/java/jakarta/xml/ws/Holder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/jakarta/xml/ws/Holder.java b/api/src/main/java/jakarta/xml/ws/Holder.java index 86f959b..53215a3 100644 --- a/api/src/main/java/jakarta/xml/ws/Holder.java +++ b/api/src/main/java/jakarta/xml/ws/Holder.java @@ -25,7 +25,7 @@ public final class Holder implements Serializable { /** * The value contained in the holder. */ - public T value; + public transient T value; /** * Creates a new holder with a {@code null} value.