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
public void writeRaw(char[] text, int offset, int len);
in JsonGenerator do not explicitly check validity of offset and len wrt to input buffer (text).
So they will fail for things like ArrayIndexOutOfBounds exception, possibly after writing some of the content.
It would make more sense to validate bounds first and give meaningful exception instead (StreamWriteException).