You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/10/13 11:30:46 UTC
[jira] Commented: (SLING-689)
SlingScriptEngineManager.getEngineFactories has wrong return type
[ https://issues.apache.org/jira/browse/SLING-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638991#action_12638991 ]
Felix Meschberger commented on SLING-689:
-----------------------------------------
Have you tested this on a Java 1.5 VM ?
I suspect this might give issues, because on Java 1.5 we use the BSF 3 implementation of JSR-223 which is not implemented with generics ...
(This is actually also the reason, why I did not handle this issue yet ;-) )
> SlingScriptEngineManager.getEngineFactories has wrong return type
> -----------------------------------------------------------------
>
> Key: SLING-689
> URL: https://issues.apache.org/jira/browse/SLING-689
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Reporter: Michael Dürig
> Assignee: Bertrand Delacretaz
>
> The return type of SlingScriptEngineManager.getEngineFactories is List<?> but should be List<ScriptEngineFactory> in order to be compatible with jdk1.6.0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.