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 Map.Entry objects in the Set returned by JsonObject.entrySet() do not validate the value passed to their Entry.setValue(...) method, allowing Java nulls. This can cause runtime exceptions when the user of the JsonObject later expects that the values returned by JsonObject are never null:
The Map.Entry objects should instead throw a NullPointerException when their setValue(...) method is called with null (as permitted by the documentation).
The text was updated successfully, but these errors were encountered:
The Map.Entry objects in the Set returned by
JsonObject.entrySet()
do not validate the value passed to theirEntry.setValue(...)
method, allowing Javanull
s. This can cause runtime exceptions when the user of the JsonObject later expects that the values returned by JsonObject are nevernull
:The Map.Entry objects should instead throw a NullPointerException when their
setValue(...)
method is called withnull
(as permitted by the documentation).The text was updated successfully, but these errors were encountered: