Nashorn (JavaScript engine): Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Alter: title. Add: title. Changed bare reference to CS1/2. | Use this bot. Report bugs. | Suggested by BrownHairedGirl | Linked from User:BrownHairedGirl/Articles_with_bare_links | #UCB_webform_linked 1144/1335
No edit summary
Line 1:
{{Short description|Deprecated JavaScript engine developed innin Java by Oracle}}
{{Multiple issues|
{{more citations needed|date=July 2021}}
Line 9:
| screenshot =
| caption =
| developer = [[Oracle Corporation]], OpenJDK Community
| latest release version = 15.3
| latest release date = {{Start date and age|2021|06|29}}
| latest preview version =
| latest preview date =
Line 22:
| website =
}}
'''Nashorn''' is a deprecated [[JavaScript engine]] developed in the [[Java (programming language)|Java]] programming language originally by [[Oracle Corporation|Oracle]] and later by the OpenJDK Community. It isrelies basedon the support for dynamically typed languages on the Java Platform (JSR 292) (a concept first realized in the experimental [[Da Vinci Machine]] (JSRand 292)a standard part of Java 7 and later.) Nashorn has been included with [[Java 8]] through JDK 14.<ref>{{cite web
| url=http://www.wiki.jvmlangsummit.com/images/c/ce/Nashorn.pdf
| title=Adventures in JSR-292 or How To Be A Duck Without Really Trying
Line 75:
| access-date=2012-12-21}}</ref>
 
It provides a 100% support of ECMAScript 5.1.<ref>{{Cite web|url=https://docs.oracle.com/en/java/javase/12/docs/api/jdk.scripting.nashorn/module-summary.html|title = Java Platform, Standard Edition Java API Reference}}</ref> It was the first JavaScript implementation to achieve 100% pass rate on the ECMAScript 5.1 test suite.<ref>{{Cite web|url=https://twitter.com/asz/status/258995374847565825|title = Tweet showing all ECMAScript 5.1 tests passing on the screen of a Nashorn developers' computer}}</ref>
 
With the release of Java 11, Nashorn iswas deprecated citing challenges to maintenance, and has been removed from JDK 15 onwards.<ref>{{cite web
| url=http://openjdk.java.net/jeps/335
| title=JEP 335: Deprecate the Nashorn JavaScript Engine
| date=2017-07-17
| access-date=2018-09-25}}</ref><ref>{{cite web |url=https://openjdk.java.net/jeps/372 |title=JEP 372: Remove the Nashorn JavaScript Engine |date=2020-01-10 |access-date=2020-07-22}}</ref> GraalJS from the [[GraalVM]] project was suggested as a replacement.
 
Nashorn development [https://github.com/openjdk/nashorn continues on GitHub] underas a thestandalone [https://openjdk.java.net/projects/nashorn/ OpenJDK project] and the [https://mvnrepository.com/artifact/org.openjdk.nashorn/nashorn-core separate release] can be used in Java project from Java 11 and up.
 
==Name==
Line 104:
 
==External links==
*{{OfficialGitHub project page website|blogs.oraclehttps://github.com/openjdk/nashorn/}}
*{{Oracle blog (mostly defunct) |https://blogs.oracle.com/nashorn/}}
 
{{ECMAScript}}