-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
ICU-22602 Fix stack overflow inside flattenVariables #2740
ICU-22602 Fix stack overflow inside flattenVariables #2740
Conversation
58541c4
to
4707ab8
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
It'd really make reviewing easier if you'd wait to squash until the fix is ready to go in. What's changed since the last time I looked at this? |
sorry, Java 11 stackoverflow when the depth reach 3906 so I have to change the limit from 4000 to 3500 and somehow I forgot to remove a println in the Java code. |
Ah. Okay, that all sounds reasonable. |
icu4j/main/core/src/test/java/com/ibm/icu/dev/test/rbbi/RBBITest.java
Outdated
Show resolved
Hide resolved
4707ab8
to
6aee63d
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
6aee63d
to
1cd4783
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
Limit the recursive call of flattenVariables to maximum depth 3500 since Java on my machine throw stack overflow exception around 3900.
1cd4783
to
961539e
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks to me like you addressed Andy's comments, but you might still need him to confirm that himself...
Limit the recursive call of flattenVariables to maximum depth 4000 since Java on my machine throw stack overflow exception around 4300.
Checklist