Commit 6e86ba12 authored by Hiroaki Yoshida's avatar Hiroaki Yoshida Committed by Stephane Nicoll

Fix potential infinite recursive loop in toString

Closes gh-14152
parent b0d38883
......@@ -46,7 +46,7 @@ final class OriginTrackedFieldError extends FieldError implements OriginProvider
@Override
public String toString() {
if (this.origin == null) {
return toString();
return super.toString();
}
return super.toString() + "; origin " + this.origin;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment