Blockhound rule for MediaTypeFactory static initializer
Closes gh-26631
This commit is contained in:
@@ -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>");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user