build(deps): bump org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0 (#1512)

* 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] <support@github.com>

* fix(rest): update JuneauXmlHandler for Juneau 9.x API compatibility

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 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Lenart <lukaszlenart@apache.org>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
dependabot[bot]
2026-01-20 13:07:52 +01:00
committed by GitHub
parent fb5ac9eedf
commit 853dd91e83
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -58,7 +58,7 @@
<dependency>
<groupId>org.apache.juneau</groupId>
<artifactId>juneau-marshall</artifactId>
<version>8.1.3</version>
<version>9.2.0</version>
<optional>true</optional>
</dependency>
@@ -62,10 +62,10 @@ public class JuneauXmlHandler implements ContentTypeHandler {
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);