https://issues.apache.org/bugzilla/show_bug.cgi?id=54461

--- Comment #4 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to comment #3)
> I tried the following variations of the compiler init parameter:
> 
>         <init-param>
>             <param-name>compiler</param-name>
>             <param-value>classic</param-value>
>         </init-param>
> 
>         <init-param>
>             <param-name>compiler</param-name>
>             <param-value>modern</param-value>
>         </init-param>
> 
>         <init-param>
>             <param-name>compiler</param-name>
>             <param-value>jikes</param-value>
>         </init-param>
> 
>         <init-param>
>             <param-name>compiler</param-name>
>             <param-value>extJavac</param-value>
>         </init-param>
> 
> And with each one, I simply got these warnings whenever the first JSP tried
> to compile:
> 
> Jan 22, 2013 3:37:59 PM org.apache.jasper.compiler.JDTCompiler generateClass
> WARNING: Unknown source VM 1.8 ignored.
> Jan 22, 2013 3:37:59 PM org.apache.jasper.compiler.JDTCompiler generateClass
> WARNING: Unknown target VM 1.8 ignored.

So, you're using Java 1.8 with this? JDTCompiler has hard-coded target version
numbers that it will accept as parameters (and 1.8 is not recognized). Are you
using other parameters, or are those being invented under the covers and not
accessible to you?

Note that the "ignored" message just says that the "1.8" is being ignored and
that the compiler will emit Java 1.5-compatible code. (I'm not sure why it
emits Java 1.5-compatible code when Tomcat 7 requires Java 1.6 and Tomcat 8
will likely require Java 1.7, but that's the way it is).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to