Skip to content

Add explicit deserializer for ThreadGroup - #4959

Merged
cowtowncoder merged 4 commits into
2.19from
tatu/2.19/4949-threadgroup-deser
Feb 9, 2025
Merged

Add explicit deserializer for ThreadGroup#4959
cowtowncoder merged 4 commits into
2.19from
tatu/2.19/4949-threadgroup-deser

Conversation

@cowtowncoder

@cowtowncoder cowtowncoder commented Feb 8, 2025

Copy link
Copy Markdown
Member

As per #4939 default POJO deserializer for ThreadGroup will try to force access to underlying fields; it should not. Let's add a limited deserializer that only uses public API. This means only "name" property can be deserialized back. But at least avoids warning/exception on later JDKs.

@cowtowncoder cowtowncoder changed the title Fix #4939, ThreadGroup deser Add explicit deserializer for ThreadGroup Feb 9, 2025
@cowtowncoder cowtowncoder added the 2.19 Issues planned at 2.19 or later label Feb 9, 2025
@cowtowncoder cowtowncoder added this to the 2.19.0 milestone Feb 9, 2025
@cowtowncoder
cowtowncoder merged commit ed3c44f into 2.19 Feb 9, 2025
@cowtowncoder
cowtowncoder deleted the tatu/2.19/4949-threadgroup-deser branch February 9, 2025 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.19 Issues planned at 2.19 or later

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant