Blockhound rule for MediaTypeFactory static initializer
Closes gh-26631
This commit is contained in:
parent
460947651a
commit
d034a1f26d
|
@ -433,6 +433,7 @@ public final class WebHttpHandlerBuilder {
|
||||||
|
|
||||||
// Avoid hard references potentially anywhere in spring-web (no need for structural dependency)
|
// 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>");
|
builder.allowBlockingCallsInside("org.springframework.web.util.HtmlUtils", "<clinit>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue