From eb17c1ca580157e282d14b1ab990c6dac6579688 Mon Sep 17 00:00:00 2001 From: John Eberhard <102746950+jeber-ibm@users.noreply.github.com> Date: Tue, 22 Oct 2024 18:37:09 -0500 Subject: [PATCH] Update AS400(AS400) constructor to also copy socketProperties. Signed-off-by: John Eberhard <102746950+jeber-ibm@users.noreply.github.com> --- src/main/java/com/ibm/as400/access/AS400.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/ibm/as400/access/AS400.java b/src/main/java/com/ibm/as400/access/AS400.java index d47be65b..8ce459ce 100644 --- a/src/main/java/com/ibm/as400/access/AS400.java +++ b/src/main/java/com/ibm/as400/access/AS400.java @@ -1064,8 +1064,7 @@ public AS400(AS400 system) threadUsed_ = system.threadUsed_; locale_ = system.locale_; nlv_ = system.nlv_; - socketProperties_ = system.socketProperties_; - + socketProperties_.copyValues(system.socketProperties_); ccsid_ = system.ccsid_; // connectionListeners_ is not copied.