Skip to content
This repository was archived by the owner on Aug 17, 2018. It is now read-only.

Commit 77a2ed3

Browse files
author
Kin Man Chung
committed
- Correctly set the flag USE_POOL to read from system property.
svn path=/trunk/; revision=1270
1 parent 3b8fa92 commit 77a2ed3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

impl/src/main/java/org/apache/jasper/runtime/JspFactoryImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ public class JspFactoryImpl extends JspFactory {
9191
// So pooling is off by default. If for any reason, backwards
9292
// compatibility is required, set the system property to true.
9393
private static final boolean USE_POOL =
94-
Boolean.getBoolean(
95-
"org.apache.jasper.runtime.JspFactoryImpl.USE_POOL");
94+
Boolean.getBoolean(System.getProperty(
95+
"org.apache.jasper.runtime.JspFactoryImpl.USE_POOL"));
9696

9797
// Per-thread pool of PageContext objects
9898
private ThreadLocal<LinkedList<PageContext>> pool =

0 commit comments

Comments
 (0)