Cyclic dependency detection for IndexingDependency(derivedFrom = ...) does not detect "buried" cycles

Description

Cyclic dependency detection will only work if the “root” @IndexingDependency is involved in the cycle.

See the tests I added to my branch:

For example, try adding the following test to org.hibernate.search.integrationtest.mapper.pojo.mapping.definition.DependencyIT: you will get a StackOverflowError.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Affects versions

Priority

Created May 5, 2022 at 1:26 PM
Updated July 4, 2022 at 7:01 AM
Resolved June 21, 2022 at 7:59 AM