This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 0be6afb8f4 Jasper cannot operate without a valid work folder
0be6afb8f4 is described below
commit 0be6afb8f42f40ed2b79e67df0565bb3a478fffe
Author: Mark Thomas <[email protected]>
AuthorDate: Wed May 27 09:15:10 2026 +0100
Jasper cannot operate without a valid work folder
---
java/org/apache/jasper/EmbeddedServletOptions.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/jasper/EmbeddedServletOptions.java
b/java/org/apache/jasper/EmbeddedServletOptions.java
index a878179187..ab7d8a7b5b 100644
--- a/java/org/apache/jasper/EmbeddedServletOptions.java
+++ b/java/org/apache/jasper/EmbeddedServletOptions.java
@@ -701,7 +701,7 @@ public final class EmbeddedServletOptions implements
Options {
}
if (!(scratchDir.exists() && scratchDir.canRead() &&
scratchDir.canWrite() && scratchDir.isDirectory())) {
- log.fatal(Localizer.getMessage("jsp.error.bad.scratch.dir",
scratchDir.getAbsolutePath()));
+ throw new
IllegalStateException(Localizer.getMessage("jsp.error.bad.scratch.dir",
scratchDir.getAbsolutePath()));
}
this.compiler = config.getInitParameter("compiler");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]