Author: violetagg Date: Wed May 15 09:11:17 2013 New Revision: 1482733 URL: http://svn.apache.org/r1482733 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54968 Return the correct version number (2.2) of the JSP specification that is supported by the JSP engine when javax.servlet.jsp.JspEngineInfo#getSpecificationVersion() is invoked.
Modified: tomcat/tc7.0.x/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java?rev=1482733&r1=1482732&r2=1482733&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/jasper/runtime/JspFactoryImpl.java Wed May 15 09:11:17 2013 @@ -43,7 +43,7 @@ public class JspFactoryImpl extends JspF // Logger private final Log log = LogFactory.getLog(JspFactoryImpl.class); - private static final String SPEC_VERSION = "2.1"; + private static final String SPEC_VERSION = "2.2"; private static final boolean USE_POOL = Boolean.valueOf(System.getProperty("org.apache.jasper.runtime.JspFactoryImpl.USE_POOL", "true")).booleanValue(); private static final int POOL_SIZE = Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1482733&r1=1482732&r2=1482733&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed May 15 09:11:17 2013 @@ -76,6 +76,16 @@ </fix> </changelog> </subsection> + <subsection name="Jasper"> + <changelog> + <fix> + <bug>54968</bug>: Return the correct version number (2.2) of the JSP + specification that is supported by the JSP engine when + javax.servlet.jsp.JspEngineInfo#getSpecificationVersion() is invoked. + (violetagg) + </fix> + </changelog> + </subsection> <subsection name="Cluster"> <changelog> <add> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org