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

Remove deprecated API #83

Closed
wants to merge 1 commit into from
Closed

Remove deprecated API #83

wants to merge 1 commit into from

Conversation

ralfstx
Copy link
Owner

@ralfstx ralfstx commented Dec 9, 2017

As reported in #77, the reference from the static fields in JsonValue
to static fields in Json can lead to deadlocks during class
initialization.

Since this API has only been added for compatibility, the easiest fix
seems to be to remove the deprecated fields in JsonValue.

Use this opportunity to remove all deprecated API for 0.9.5.

This commit should fix #77.

@ralfstx ralfstx force-pushed the remove-deprecated-api branch from 414ec10 to 20a51f8 Compare December 9, 2017 16:49
As reported in #77, the reference from the static fields in `JsonValue`
to static fields in `Json` can lead to deadlocks during class
initialization.

Since this API has only been added for compatibility, the easiest fix
seems to be to remove the deprecated fields in `JsonValue`.

Use this opportunity to remove all deprecated API for 0.9.5.

This commit should fix #77.
@ralfstx ralfstx force-pushed the remove-deprecated-api branch from 20a51f8 to 183f266 Compare December 9, 2017 16:55
@ralfstx
Copy link
Owner Author

ralfstx commented Dec 9, 2017

Considering the amount of breakage even in our own code (still using deprecated API in the performancetest project), I suppose that removing all deprecated API in 0.9.5 would likely break too many projects out there. Also, it turned out that #77 should be fixed already in 0.9.5.

@ralfstx ralfstx closed this Dec 9, 2017
@ralfstx ralfstx deleted the remove-deprecated-api branch December 9, 2017 18:53
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.

com.eclipsesource.json.Json.parse(String strInput) get stuck in Infinite Loop
1 participant