[Bug 3263] New: Cannot retrieve JavaScript Engine using ScriptEngineManager.getEngineByName

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Dec 7 21:25:54 UTC 2016


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3263

            Bug ID: 3263
           Summary: Cannot retrieve JavaScript Engine using
                    ScriptEngineManager.getEngineByName
           Product: IcedTea-Web
           Version: 1.6.2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: NetX (javaws)
          Assignee: jvanek at redhat.com
          Reporter: vincent.privat at gmail.com
                CC: unassigned at icedtea.classpath.org

This is an upstream bug report for:
https://josm.openstreetmap.de/ticket/14097

JOSM is a Java Swing application that can be launched using Java Web Start.

With icedtea-web, this statement returns null:

import javax.script.ScriptEngineManager;
new ScriptEngineManager().getEngineByName("JavaScript");

But it works fine with Oracle javaws implementation (returns the Nashorn engine
as expected).

Versions:
Java version: 1.8.0_111-8u111-b14-2ubuntu0.16.10.2-b14, Oracle Corporation,
OpenJDK 64-Bit Server VM
Java package: openjdk-8-jre:amd64-8u111-b14-2ubuntu0.16.10.2
WebStart package: icedtea-netx:amd64-1.6.2-3ubuntu1
VM arguments: [-Dicedtea-web.bin.name=javaws,
-Dicedtea-web.bin.location=/usr/bin/javaws, -Djava.security.manager,
-Djava.security.policy=/etc/icedtea-web/javaws.policy]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20161207/31452c53/attachment.html>


More information about the distro-pkg-dev mailing list