bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/Compiler.java
private boolean systemJarInWebinf(String path) {

        if (path.indexOf("/WEB-INF/") < 0) {
            return false;
        }

        Boolean useMyFaces = (Boolean) ctxt.getServletContext().
                getAttribute("com.sun.faces.useMyFaces");

        if (useMyFaces == null || !useMyFaces) {
            for (String jar: systemJsfJars) {
                if (path.indexOf(jar) > 0) {
                    return true;
                }
            }
        }

        for (String jar: systemJars) {
            if (path.indexOf(jar) > 0) {
                return true;
            }
        }
        return false;
    }
private boolean systemJarInWebinf(String path) {

        if (path.indexOf("/WEB-INF/") < 0) {
            return false;
        }

        Boolean useMyFaces = (Boolean) ctxt.getServletContext().
                getAttribute("com.sun.faces.useMyFaces");

        if (useMyFaces == null || !useMyFaces) {
            for (String jar: systemJsfJars) {
                if (path.indexOf(jar) > 0) {
                    return true;
                }
            }
        }

        for (String jar: systemJars) {
            if (path.indexOf(jar) > 0) {
                return true;
            }
        }
        return false;
    }
private boolean systemJarInWebinf ( String path ) { if ( path . indexOf ( "/WEB-INF/" ) < 0 ) { return false ; } Boolean useMyFaces = ( Boolean ) ctxt . getServletContext ( ) . getAttribute ( "com.sun.faces.useMyFaces" ) ; if ( useMyFaces == null || ! useMyFaces ) { for ( String jar : systemJsfJars ) { if ( path . indexOf ( jar ) > 0 ) { return true ; } } } for ( String jar : systemJars ) { if ( path . indexOf ( jar ) > 0 ) { return true ; } } return false ; }
Return true if the path refers to a jar file in WEB-INF and is a
system jar.
Return true if the path refers to a jar file in WEB - INF and is a system jar .