We're updating the issue view to help you get more done. 

Java 8 + JSP compilation

Description

Currently, it's not possible to compile JSPs compiling Java 8 idiom's as the version of the Jetty compiler used by Maven only supports Java 7 source. 

Once Jetty has been upgraded to Jetty 9.3.6 or higher (see ), it should be possible to set the sourceVersion/targetVersion for the Jetty Jspc Maven Plugin - https://www.eclipse.org/jetty/documentation/current/jetty-jspc-maven-plugin.html

See https://github.com/igniterealtime/Openfire/pull/1059 for a PR containing a JSP that could contain a Java 8 idiom, in particular a anonymous lambda.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
wroot
April 11, 2018, 3:49 PM

I thought this ticket should cover a workaround until Jetty is updated, but it soinds differently from the description. Am i missing something?

Greg Thomas
April 12, 2018, 7:19 AM

AFAICT, there is no work-around other than to not use Java 8 syntax.

Assignee

Greg Thomas

Reporter

Greg Thomas

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure