Work around Collectors.toMap NPE bug

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: Reactive Streams
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The recent JAVA-1788 support for returning results from insertions uses Collectors.toMap which contains a bug in the openJDK when collecting null values.

      The perf tests highlight this bug as any bulk inserts of RawBsonDocuments will trigger it on openJDK 8 & 11.

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: