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

MongoClientOptions.builder(MongoClientOptions) should make a copy of the commandListeners arrays

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.0
    • Affects Version/s: 3.2.0
    • Component/s: Configuration
    • Labels:
      None

      The MongoClientOptions.builder(MongoClientOptions) method should make a copy of the commandListeners arrays to that any subsequent modifications to it do not violate the immutability guarantees of MongoClientOptions

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

              Created:
              Updated:
              Resolved: