[JAVA-526] LazyBSONDecoder infinitely recurses Created: 24/Feb/12  Updated: 18/Jun/12  Resolved: 29/Feb/12

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 2.7
Fix Version/s: 2.8.0

Type: Bug 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


 Description   

LazyBSONDecoder.decode(byte[] b, BSONCallback callback) calls decode(InputStream in, BSONCallback callback) calls LazyBSONDecoder.decode(byte[] b, BSONCallback callback) ...



 Comments   
Comment by Jeffrey Yemin [ 18/Jun/12 ]

Closing for 2.8.0 release.

Comment by auto [ 29/Feb/12 ]

Author:

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

Message: Fixed JAVA-526 to remove infinite recursion
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/15f593032c0c2229586b3a3b68d3e65ba319b5ea

Comment by Jeffrey Yemin [ 24/Feb/12 ]

It looks like the circular method calls were introduced in this commit: https://github.com/mongodb/mongo-java-driver/blob/673beed75fc347054328afaa2841d43410ee0f28/src/main/org/bson/LazyBSONDecoder.java

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