提交 d034a1f2 编写于 作者: R Rossen Stoyanchev

Blockhound rule for MediaTypeFactory static initializer

Closes gh-26631
上级 46094765
......@@ -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>");
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册