Please approve the backports of this Nashorn fix to jdk8u-dev. Bug: https://bugs.openjdk.java.net/browse/JDK-8040078 Webrev: http://cr.openjdk.java.net/~hannesw/8040078/ JDK9 changeset: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/e88f1df9b412 The patch applies cleanly to jdk8u-dev. Thanks, Hannes