Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ClassGraphDepthMax in Ice for Java #2374

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

pepone
Copy link
Member

@pepone pepone commented Jun 28, 2024

This PR implements ClassGraphDepthMax in Java and simplifies the recursive class test in all language mappings.

Fixes #2295

@pepone pepone requested a review from bernardnormier June 28, 2024 11:10
Copy link
Member

@bernardnormier bernardnormier left a comment

Choose a reason for hiding this comment

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

Looks good. I would just improve the test a little bit.

}
test(!initial.supportsClassGraphDepthMax());
initial.setRecursive(top);
Copy link
Member

Choose a reason for hiding this comment

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

Should we actually make two calls:

  • one with max - 1 elements, and verify it succeeds
  • on with max elements, and verify it fails with the expected exception?

@pepone pepone merged commit 8a66a58 into zeroc-ice:main Jul 1, 2024
14 of 17 checks passed
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Ice.ClassGraphMaxDepth in Java and JavaScript
2 participants