[
https://issues.apache.org/jira/browse/SLING-11398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17557083#comment-17557083
]
Oliver Lietz commented on SLING-11398:
--------------------------------------
[~enorman], Felix HC comes with its own
[{{ScriptEnginesTracker}}|https://github.com/apache/felix-dev/blob/master/healthcheck/generalchecks/src/main/java/org/apache/felix/hc/generalchecks/util/ScriptEnginesTracker.java].
So how should enhancing Sling Scripting Core help?
And the Groovy Runner in Composum Nodes is not using JSR 223
({{{}javax.script{}}}) at all, see
[{{run(...)}}|https://github.com/ist-dresden/composum-nodes/blob/dad4929d332358cb35d494f4e48e94a9f2806566/commons/src/main/java/com/composum/sling/core/script/GroovyRunner.java#L100].
No specific test suite in mind, we have some basic tests in [Scripting
Groovy|https://github.com/apache/sling-org-apache-sling-scripting-groovy/tree/master/src/test/java/org/apache/sling/scripting/groovy/it/tests]
and [Scripting
FreeMarker|https://github.com/apache/sling-org-apache-sling-scripting-freemarker/tree/master/src/test/java/org/apache/sling/scripting/freemarker/it/tests].
> handle serviceloader ScriptEngineFactory defined in a fragment bundle
> ---------------------------------------------------------------------
>
> Key: SLING-11398
> URL: https://issues.apache.org/jira/browse/SLING-11398
> Project: Sling
> Issue Type: Bug
> Reporter: Eric Norman
> Assignee: Eric Norman
> Priority: Major
> Fix For: Scripting Core 2.4.10
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Handle loading of ScriptEngineFactory service loader
> (/META-INF/services/javax.script.ScriptEngineFactory) files that exist in a
> fragment.
> For example, consider the groovy ScriptEngine included in the starter that
> has these:
> Host Bundle - org.codehaus.groovy:groovy:3.0.9
> Fragment - org.codehaus.groovy:groovy-jsr223:3.0.9
>
> Expected:
> The groovy ScriptEngineFactory declared in the groovy-jsr223 fragment should
> be discovered and made available.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)