Bug 57247

Summary: Update Jasper in Tomcat 9 to target Java 8
Product: Tomcat 9 Reporter: Konstantin Kolinko <knst.kolinko>
Component: JasperAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: r.mbiama
Priority: P2    
Version: unspecified   
Target Milestone: -----   
Hardware: PC   
OS: All   

Description Konstantin Kolinko 2014-11-24 01:04:52 UTC
The next version of JSP specification is not published yet, but my expectation is that the new set of Java EE specifications will target Java 8.

One place that we forgot to update when switching Tomcat 8 Jasper to Java 7:
\java\org\apache\jasper\resources\LocalStrings[_lang].properties

The help string there still says
\    -source <version>   Set the -source argument to the compiler (default 1.6)\n\
\    -target <version>   Set the -target argument to the compiler (default 1.6)\n\
Comment 1 Mark Thomas 2014-11-24 11:24:52 UTC
I did a global search in Tomcat 9 for "1.7" and fixed all the references I found.

I've also fixed the JspC usage message in Tomcat 8. That fix will be in 8.0.16 onwards.