View | Details | Raw Unified | Return to bug 51220
Collapse All | Expand All

(-)java/org/apache/jasper/compiler/Generator.java (-1 / +7 lines)
Lines 78-83 Link Here
78
    private static final String VAR_ANNOTATIONPROCESSOR = 
78
    private static final String VAR_ANNOTATIONPROCESSOR = 
79
        System.getProperty("org.apache.jasper.compiler.Generator.VAR_ANNOTATIONPROCESSOR", "_jsp_annotationprocessor");
79
        System.getProperty("org.apache.jasper.compiler.Generator.VAR_ANNOTATIONPROCESSOR", "_jsp_annotationprocessor");
80
80
81
    /* System property that makes it possible for jsp pages with the extends
82
     * page directive to take advantage of tag pooling.
83
     */
84
    private static final boolean ENABLEPOOLINGFORJSPSUBCLASSES = Boolean.valueOf(
85
            System.getProperty("org.apache.jasper.compiler.Generator.ENABLEPOOLINGFORJSPSUBCLASSES", "false"));
86
81
    /* System property that controls if the requirement to have the object
87
    /* System property that controls if the requirement to have the object
82
     * used in jsp:getProperty action to be previously "introduced"
88
     * used in jsp:getProperty action to be previously "introduced"
83
     * to the JSP processor (see JSP.5.3) is enforced.
89
     * to the JSP processor (see JSP.5.3) is enforced.
Lines 3390-3396 Link Here
3390
         * clarify whether containers can override init() and destroy(). For
3396
         * clarify whether containers can override init() and destroy(). For
3391
         * now, we just disable tag pooling for pages that use "extends".
3397
         * now, we just disable tag pooling for pages that use "extends".
3392
         */
3398
         */
3393
        if (pageInfo.getExtends(false) == null) {
3399
        if (pageInfo.getExtends(false) == null || ENABLEPOOLINGFORJSPSUBCLASSES) {
3394
            isPoolingEnabled = ctxt.getOptions().isPoolingEnabled();
3400
            isPoolingEnabled = ctxt.getOptions().isPoolingEnabled();
3395
        } else {
3401
        } else {
3396
            isPoolingEnabled = false;
3402
            isPoolingEnabled = false;

Return to bug 51220