Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1793

JsonReader incorrectly parses strings containing Unicode surrogate pairs

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.1, 3.1.0
    • Affects Version/s: 3.0.0
    • Component/s: JSON
    • None

      First reported on mongodb-users.

      JsonReader reads the full surrogate pair using String.codePointAt, but then always moves the position by one character.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: