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

CLDR-17399 Fix infinite loops due to removing boxed primitive constructors #3567

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

btangmu
Copy link
Member

@btangmu btangmu commented Mar 13, 2024

-JSONObject had recursive calls in put double/int/long

-Use Double/Integer/Long.valueOf to call the version of put with Object parameter

CLDR-17399

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

…ctors

-JSONObject had recursive calls in put double/int/long

-Use Double/Integer/Long.valueOf to call the version of put with Object parameter
@btangmu btangmu self-assigned this Mar 13, 2024
@btangmu btangmu merged commit 9efbe0a into unicode-org:main Mar 13, 2024
10 checks passed
@btangmu btangmu deleted the t17399_a branch March 13, 2024 17:19
@markusicu
Copy link
Member

@mihnita FYI

@mihnita
Copy link
Contributor

mihnita commented Mar 14, 2024

Sorry, the change was a bit big and I didn't see it.
Thank you for catching and fixing this,
Mihai

@btangmu
Copy link
Member Author

btangmu commented Mar 15, 2024

@mihnita Thank you for improving the code! There's always some risk in a big modernization like this, and modernization is necessary. The problem here wasn't obvious. The fact that we didn't detect it until deployment on the production server (fortunately when it wasn't open for vetting) reveals a weakness in the automated testing, and we're going to study how to improve that. Cheers!

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.

4 participants