Blockhound rule for MediaTypeFactory static initializer

Closes gh-26631
This commit is contained in:
Rossen Stoyanchev 2021-07-23 17:01:28 +01:00
parent 460947651a
commit d034a1f26d
1 changed files with 1 additions and 0 deletions

View File

@ -433,6 +433,7 @@ public final class WebHttpHandlerBuilder {
// Avoid hard references potentially anywhere in spring-web (no need for structural dependency)
builder.allowBlockingCallsInside("org.springframework.http.MediaTypeFactory", "<clinit>");
builder.allowBlockingCallsInside("org.springframework.web.util.HtmlUtils", "<clinit>");
}
}