When using items.add(item), an infinite loop might occur if the item (Persistent) item contains a reference to a document, and thus the document a reference to the same item.
This bug actually belong to Persistent.equals()
Log in to post a comment.