mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Blockhound rule for MediaTypeFactory static initializer
Closes gh-26631
This commit is contained in:
+1
@@ -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