Tx.
The AI generated tests I was about to commit uncovered some further
issues - mostly around handling * and q=0 that I am still looking at
between sessions. If I don't get the fix sorted before, I should have
time to complete the full fix in this afternoon's hackathon.
Mark
On 13/10/2026 10:41, [email protected] wrote:
This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 89fd736b0f Java compatibility
89fd736b0f is described below
commit 89fd736b0f6143749facf3ba49dc0e392fce96c4
Author: remm <[email protected]>
AuthorDate: Tue Oct 13 11:41:04 2026 +0200
Java compatibility
---
java/org/apache/catalina/servlets/DefaultServlet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/servlets/DefaultServlet.java
b/java/org/apache/catalina/servlets/DefaultServlet.java
index c8cfdfebdb..f9b5cf50c9 100644
--- a/java/org/apache/catalina/servlets/DefaultServlet.java
+++ b/java/org/apache/catalina/servlets/DefaultServlet.java
@@ -1515,7 +1515,7 @@ public class DefaultServlet extends HttpServlet {
continue;
}
if ("*".equals(encoding)) {
- bestResource = precompressedResources.getFirst();
+ bestResource = precompressedResources.get(0);
bestResourceQuality = quality;
bestResourcePreference = 0;
continue;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]