Skip to content

Conversation

@Simulant87
Copy link
Contributor

fixes #947

@stleary
Copy link
Owner

stleary commented Jan 17, 2025

What problem does this code solve?
Resolves a bug where the wrong JSONParserConfiguration is used when creating a JSONArray or JSONObject with a JSONTokener instance.

Does the code still compile with Java6?
Yes

Risks
Low

Changes to the API?
No

Will this require a new release?
No

Should the documentation be updated?
No

Does it break the unit tests?
No. New unit tests were added.

Was any code refactored in this commit?
No

Review status
APPROVED

Starting 3-day comment window

@stleary stleary changed the title use JSONParserConfiguration of JSONTokener in JSONObject and JSONArray constructor instead of creating a new one Use JSONTokener JSONParserConfiguration JSONObject and JSONArray constructors Jan 19, 2025
@stleary stleary merged commit 22f8290 into stleary:master Jan 19, 2025
7 checks passed
@stleary stleary changed the title Use JSONTokener JSONParserConfiguration JSONObject and JSONArray constructors Use JSONTokener JSONParserConfiguration in JSONObject and JSONArray constructors Jan 19, 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.

Bug: JSONObject constructor with JSONTokener ignores JSONParserConfiguration of JSONTokener

2 participants