* Avoid infinite recursion in makeChildrenPersistable()

This commit is contained in:
hns 2007-06-15 09:54:54 +00:00
parent c52a29741e
commit 82b35af983

View file

@ -2597,7 +2597,7 @@ public final class Node implements INode, Serializable {
// check if this property actually needs to be persisted. // check if this property actually needs to be persisted.
Node n = (Node) next.getNodeValue(); Node n = (Node) next.getNodeValue();
if (n == null) { if (n == null || n == this) {
continue; continue;
} }