This is an automated email from the ASF dual-hosted git repository. markt-asf pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 07e1b7d3da47a97d2861116f0ba5dd2b4018d256 Author: Mark Thomas <[email protected]> AuthorDate: Tue Aug 11 15:51:06 2026 +0100 Fix backport --- java/org/apache/tomcat/util/net/NioEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java index 6e2f63e619..ea7565bc14 100644 --- a/java/org/apache/tomcat/util/net/NioEndpoint.java +++ b/java/org/apache/tomcat/util/net/NioEndpoint.java @@ -236,7 +236,7 @@ public class NioEndpoint extends AbstractJsseEndpoint<NioChannel,SocketChannel> derivePermissions = true; } - if (permissionString == null || permissionString.isBlank()) { + if (permissionString == null || permissionString.length() == 0) { return null; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
