Skip to content

Add Ant LogOutputStream stub needed by Jasper 9.0.124 - #575

Merged
copybara-service[bot] merged 2 commits into
mainfrom
jasper-logoutputstream-stub
Dec 3, 2026
Merged

copybara-service[bot] merged 2 commits into
mainfrom
jasper-logoutputstream-stub

Conversation

@lachlan-roberts

Copy link
Copy Markdown
Collaborator

The next Jetty releases, 12.0.42 and 12.1.16, include a routine update of the JSP compiler to Jasper 9.0.124. This version relies on one more Ant class than App Engine currently provides a stub for. Without it, upgrading Jetty would break JSP compilation during staging, and any app with JSPs would fail to deploy.

The new Ant dependency comes from an upstream change in Tomcat's Jasper, not from Jetty itself. It only affects App Engine because it stubs out the Ant classes instead of including Ant.

This adds the missing stub so the Jetty upgrade works as is. It has no effect on the current Jetty versions.

Jetty 12.0.42 and 12.1.16 upgrade the EE8 Jasper to 9.0.124, whose JspC
references org.apache.tools.ant.taskdefs.LogOutputStream. Without Ant on
the classpath, LocalJspC fails with NoClassDefFoundError and staging
cannot compile JSPs.

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
* happens here.
*/
public class LogOutputStream extends OutputStream {
public LogOutputStream(Task task, int level) {}
* happens here.
*/
public class LogOutputStream extends OutputStream {
public LogOutputStream(Task task, int level) {}
@copybara-service
copybara-service Bot merged commit 1387d21 into main Dec 3, 2026
14 checks passed
@copybara-service
copybara-service Bot deleted the jasper-logoutputstream-stub branch December 3, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants