maxArtifactReferenceDepth top-level constant

int const maxArtifactReferenceDepth

The maximum number of artifact:// references a single lookup may follow before giving up. Shared by every artifact service so that a self-referential or cyclic reference chain fails with a clear error instead of exhausting the stack.

Implementation

const int maxArtifactReferenceDepth = 5;