Commit 59f4c5bd authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #14152 from hiroakiy:fix-infinite-loop

* pr/14152:
  Fix potential infinite recursive loop in toString
parents b0d38883 6e86ba12
...@@ -46,7 +46,7 @@ final class OriginTrackedFieldError extends FieldError implements OriginProvider ...@@ -46,7 +46,7 @@ final class OriginTrackedFieldError extends FieldError implements OriginProvider
@Override @Override
public String toString() { public String toString() {
if (this.origin == null) { if (this.origin == null) {
return toString(); return super.toString();
} }
return super.toString() + "; origin " + this.origin; 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