Skip to content

Commit

Permalink
fix: serialization error due to non-transient variable inside seriali…
Browse files Browse the repository at this point in the history
…zable class
  • Loading branch information
rng70-or authored and lukasj committed Feb 20, 2024
1 parent fd63460 commit b80a3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/xml/ws/Holder.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class Holder<T> implements Serializable {
/**
* The value contained in the holder.
*/
public T value;
public transient T value;

/**
* Creates a new holder with a {@code null} value.
Expand Down

0 comments on commit b80a3cf

Please sign in to comment.