Skip to content

Connect skip() to TConfiguration recursion limit - #3415

Merged
Jens-G merged 1 commit into
apache:masterfrom
Jens-G:java-skip-tconfiguration
Apr 25, 2026
Merged

Jens-G merged 1 commit into
apache:masterfrom
Jens-G:java-skip-tconfiguration

Conversation

@Jens-G

@Jens-G Jens-G commented Apr 23, 2026

Copy link
Copy Markdown
Member

Client: java

Make sure to connect all skip() implementations propertly and consistently to TConfiguration. Also, this drops maxSkipDepth and deprecates TProtocolUtil.setMaxSkipDepth() in favour of TConfiguration.

@Jens-G
Jens-G requested review from fishy and jimexist as code owners April 23, 2026 21:48
@Jens-G Jens-G added the java Pull requests that update Java code label Apr 23, 2026
@kpumuk
kpumuk self-requested a review April 24, 2026 13:44

@kpumuk kpumuk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want a breaking change notice as setMaxSkipDepth might subtly break the business logic (e.g. stop working without any indication it did so)? For the https://github.com/apache/thrift/blob/master/lib/java/README.md#breaking-changes at least

Client: java
Patch: Jens Geyer

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

This closes apache#3415
@Jens-G
Jens-G force-pushed the java-skip-tconfiguration branch from b3e2da8 to c30851d Compare April 25, 2026 21:14
@Jens-G
Jens-G merged commit deeebfa into apache:master Apr 25, 2026
8 of 10 checks passed
@Jens-G
Jens-G deleted the java-skip-tconfiguration branch April 25, 2026 21:16
@kpumuk kpumuk mentioned this pull request Apr 26, 2026
1 of 5 tasks
MPDR200011 pushed a commit to MPDR200011/thrift that referenced this pull request Jun 13, 2026
Client: java
Patch: Jens Geyer

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

This closes apache#3415
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants