[
https://issues.apache.org/jira/browse/KARAF-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16064905#comment-16064905
]
ASF subversion and git services commented on KARAF-4603:
--------------------------------------------------------
Commit 33115c7bd4ac6693d4ad9d2b134382ca3d9013b8 in karaf's branch
refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=33115c7 ]
[KARAF-4603] Nashorn support in Karaf
> Nashorn support in Karaf
> ------------------------
>
> Key: KARAF-4603
> URL: https://issues.apache.org/jira/browse/KARAF-4603
> Project: Karaf
> Issue Type: Bug
> Components: karaf-osgi
> Affects Versions: 3.0.7
> Environment: Ubuntu 16.04
> OpenJDK 8 64-bit
> Reporter: Roman Sakno
> Assignee: Guillaume Nodet
> Fix For: 3.0.9, 4.2.0, 4.1.2, 4.0.10
>
>
> I can't use JavaScript scripting in Karaf on Java 8 because
> ScriptEngineFactory implementation (provided by Nashorn) is located in system
> package {{jdk.nashorn.api.scripting}}. In Java 7, Rhino implementation is
> located in package {{com.sun.script.javascript}}. By default, Karaf offers
> some system packages (including {{com.sun}}) in configuration property
> {{org.osgi.framework.bootdelegation}} which is defined in file
> {{etc/config.properties}}. That's why Rhino available from Karaf. It will be
> great if you add {{jdk.nashorn}} to boot delegation by default.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)