From 81973a7e43f70df8df45a0e09dea8dcfc1b8fd76 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Jan 2026 01:08:17 +0000 Subject: [PATCH 1/2] build(deps): bump org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0 Bumps org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0. --- updated-dependencies: - dependency-name: org.apache.juneau:juneau-marshall dependency-version: 9.2.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- plugins/rest/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rest/pom.xml b/plugins/rest/pom.xml index 93b4c6adc4..2ba22b35da 100644 --- a/plugins/rest/pom.xml +++ b/plugins/rest/pom.xml @@ -58,7 +58,7 @@ org.apache.juneau juneau-marshall - 8.1.3 + 9.2.0 true From b3d29e86ff2497b0028f06306790dd96413d5537 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Tue, 20 Jan 2026 11:05:44 +0100 Subject: [PATCH 2/2] fix(rest): update JuneauXmlHandler for Juneau 9.x API compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace deprecated builder() method with copy() to fix compilation error after juneau-marshall upgrade from 8.1.3 to 9.2.0. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../org/apache/struts2/rest/handler/JuneauXmlHandler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/rest/src/main/java/org/apache/struts2/rest/handler/JuneauXmlHandler.java b/plugins/rest/src/main/java/org/apache/struts2/rest/handler/JuneauXmlHandler.java index 584061b42b..30057c4eed 100644 --- a/plugins/rest/src/main/java/org/apache/struts2/rest/handler/JuneauXmlHandler.java +++ b/plugins/rest/src/main/java/org/apache/struts2/rest/handler/JuneauXmlHandler.java @@ -62,10 +62,10 @@ public String fromObject(ActionInvocation invocation, Object obj, String resultC LOG.debug("Converting an object of {} into string", obj.getClass().getName()); try { serializer - .builder() - .locale(invocation.getInvocationContext().getLocale()) - .build() - .serialize(obj, stream); + .copy() + .locale(invocation.getInvocationContext().getLocale()) + .build() + .serialize(obj, stream); return null; } catch (SerializeException e) { throw new IOException(e);