Skip to content

FISH-13968 Jax-RS leak prevention also applies to Jax-RS client, not onl… - #8275

Open
lprimak wants to merge 1 commit into
payara:mainfrom
flowlogix:jaxrs-client-jsonb-leak
Open

FISH-13968 Jax-RS leak prevention also applies to Jax-RS client, not onl…#8275
lprimak wants to merge 1 commit into
payara:mainfrom
flowlogix:jaxrs-client-jsonb-leak

Conversation

@lprimak

@lprimak lprimak commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

…y server

Description

weld/JaxRSJsonContextResolver.java was previously restricted to server-only, but this issue also applies to jax-rs clients. This PR removes this restriction, and thus fixes Jax-RS clients that integrate with multiple applications in CDI.

Notes for Reviewers

This is an enhancement to the bug fix in #7314 that applies to Jax-RS Clients.
Same ClassLoader leaks that was fixed in the above PR appears in Jax-RS clients, which this PR fixes.

@lprimak

lprimak commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

@Pandrex247 @stian-sigvartsen I was just doing some work with #7902 and #7820 and discovered this. It's pretty simple just removes a few lines of code.

Thank you

@lprimak
lprimak force-pushed the jaxrs-client-jsonb-leak branch from 305c4f0 to 5e679eb Compare July 4, 2026 20:56
@Pandrex247 Pandrex247 changed the title bugfix: Jax-RS leak prevention also applies to Jax-RS client, not onl… FISH-13968 Jax-RS leak prevention also applies to Jax-RS client, not onl… Jul 7, 2026
@Pandrex247 Pandrex247 added the PR: CLA CLA submitted on PR by the contributor label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: CLA CLA submitted on PR by the contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants