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

Deprecate org.bson.io.ByteBuf

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • API, BSON

    Description

      Let's ship 5.x with a deprecation warning for this and all the methods that use it. We won't deprecate or remove it in 5.0, we can do it in the next minor version that follows.

      Once StreamFactory is removed, there will be less need for ByteBuf directly and we could replace it with methods that use Java's ByteBuffer class. It's currently still used in RawBsonDocument and RawBsonArray.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tom.selander@mongodb.com Tom Selander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: