You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: re-enable and strengthen recursive $ref SelfRefTest (#1258)
SelfRefTest has been @disabled since 2016 with the note that a recursive $ref caused a StackOverflowError. That has long since been fixed, but the test stayed disabled and only printed to stdout, so the recursive-$ref path had no coverage.
This re-enables it and replaces the println with real assertions: the self-referential "tree" schema loads without StackOverflow, a valid nested tree validates with no errors, and a nested branch missing the required "value" is reported (proving validation follows the recursive $ref). Verified locally with mvn -Dtest=SelfRefTest test.
0 commit comments