[Bug 69659] Automatic JSP EL optimization

2025-04-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69659 --- Comment #2 from John Engebretson --- Thanks Christopher! Very helpful. > How much mileage could you get out of a simple regex-style replacement that > looks for very specific things like this? I would get excellent mileage, although I'm

[Bug 69659] Automatic JSP EL optimization

2025-04-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=69659 --- Comment #1 from Christopher Schultz --- An optimizing compiler won't add much because it can't really prove those things are true unless we teach it, which is probably not worth it. Even the JIT probably isn't able to figure out that it's d

[PR] Adding nonstandard catch, if, choose/when/otherwise [tomcat]

2025-04-25 Thread via GitHub
jengebr opened a new pull request, #845: URL: https://github.com/apache/tomcat/pull/845 Adds non-standard implementations of `c:catch`, `c:if`, `c:choose`, `c:when`, and `c:otherwise`. Note that incorrectly structured choose/when/otherwise combinations are blocked by the tag lib validation