You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cycle detection introduced in #632 / #645 doesn't handle cycles that involved collections. The following example still results in a StackOverflowError:
Exception in thread "main" java.lang.StackOverflowError
at org.json.JSONObject.getKeyNameFromMethod(JSONObject.java:1591)
at org.json.JSONObject.populateMap(JSONObject.java:1548)
at org.json.JSONObject.populateMap(JSONObject.java:1529)
at org.json.JSONObject.<init>(JSONObject.java:366)
at org.json.JSONObject.wrap(JSONObject.java:2499)
at org.json.JSONObject.wrap(JSONObject.java:2457)
at org.json.JSONArray.addAll(JSONArray.java:1609)
at org.json.JSONArray.<init>(JSONArray.java:176)
at org.json.JSONObject.wrap(JSONObject.java:2478)
at org.json.JSONObject.populateMap(JSONObject.java:1563)
at org.json.JSONObject.populateMap(JSONObject.java:1529)
at org.json.JSONObject.<init>(JSONObject.java:366)
The text was updated successfully, but these errors were encountered:
The cycle detection introduced in #632 / #645 doesn't handle cycles that involved collections. The following example still results in a
StackOverflowError
:The text was updated successfully, but these errors were encountered: