You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/04/04 16:14:16 UTC
[jira] [Commented] (SLING-3405) SLING2094Test and
ServerSideScriptsTest fail with java 8: JSP compiler does not find
java.util.Arrays or java.lang.CharSequence
[ https://issues.apache.org/jira/browse/SLING-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959985#comment-13959985 ]
Robert Munteanu commented on SLING-3405:
----------------------------------------
Compilation of that sample class works fine now with [org.eclipse.jdt.core 3.9.1.v20130905-0837|http://search.maven.org/#artifactdetails\|org.eclipse.tycho\|org.eclipse.jdt.core\|3.9.1.v20130905-0837\|jar] and a Java 8 runtime.
Nevertheless, I have no idea where to add this new JDT compiler jar ; {{mvn dependency:tree}} mentions nothing about org.eclipse.jdt.core in bundles/scripting/jsp . I actually made the change in contrib/commons/compiler before realising that the issue is rooted somewhere else.
> SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does not find java.util.Arrays or java.lang.CharSequence
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-3405
> URL: https://issues.apache.org/jira/browse/SLING-3405
> Project: Sling
> Issue Type: Bug
> Components: Scripting, Testing
> Reporter: Bertrand Delacretaz
> Priority: Minor
> Attachments: jasper-upgrade.patch
>
>
> Running the launchpad/integration-tests SLING2094Test fails due to a compilation error for the test script [1]: "Unable to compile class for JSP, the import java.util.Arrays cannot be resolved".
> [1] https://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/src/main/resources/integration-test/issues/sling2094/sling2094.jsp
--
This message was sent by Atlassian JIRA
(v6.2#6252)