[JAVA-1536] Deprecate LazyWriteableDBObject and related classes Created: 07/Nov/14  Updated: 30/Jan/15  Resolved: 07/Nov/14

Status: Closed
Project: Java Driver
Component/s: Codecs
Affects Version/s: None
Fix Version/s: 2.13.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by JAVA-1537 Remove LazyWriteableDBObject and rela... Closed
Epic Link: 2.13 Deprecations

 Description   

The LazyWriteableDBObject class is dangerous as it violates the contract of it's superclass. If you attempt to encode a LazyWriteableDBObject with the LazyDBObjectEncoder, any modifications that were made to the LazyWriteableDBObject will be ignored.

For this reason we will deprecate the class and remove it in 3.0.



 Comments   
Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Excluded lazy writeable classes from clirr report

JAVA-1536
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/8b6aa0e195c2d1c5f14ea50c27d6dc72914f72dc

Comment by Jeffrey Yemin [ 29/Jan/15 ]

2.13.0 has been released. Closing issue.

Comment by Githook User [ 07/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Excluded lazy writeable classes from clirr report

JAVA-1536
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/8b6aa0e195c2d1c5f14ea50c27d6dc72914f72dc

Comment by Githook User [ 07/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Deprecated LazyWriteableDBObject and related classes

JAVA-1536
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/cea949e395e03ebba0b3a9c306cd330f8db0b933

Generated at Thu Feb 08 08:54:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.