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

use JSONParserConfiguration of JSONTokener in JSONObject and JSONArray constructor instead of creating a new one #948

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: JSONObject constructor with JSONTokener ignores JSONParserConfiguration of JSONTokener
2 participants