Please approve. Bug: https://bugs.openjdk.java.net/browse/JDK-8062216 jdk8 webrev: http://cr.openjdk.java.net/~sundar/8062216/8u40/webrev.00/jdk9 review thread: http://mail.openjdk.java.net/pipermail/nashorn-dev/2014-October/003744.html
Fix backported "as is" without any jdk8 specific changes. -Sundar
