[PATCH] typos

Hannes Wallnöfer hannes.wallnoefer at oracle.com
Wed Jan 25 08:57:16 UTC 2017


Thanks Ahmed,

I included your patch in my last commit.

Hannes

> Am 07.01.2017 um 02:39 schrieb Ahmed Ashour <asashour at yahoo.com>:
> 
> Hi all,
> 
> 
> Please find below a proposed patch, for some typos.
> 
> 
> Thanks,
> 
> Ahmed Ashour
> 
> 
> diff --git a/README b/README
> --- a/README
> +++ b/README
> @@ -18,7 +18,7 @@
> 
>     http://mercurial.selenic.com/wiki/ForestExtension
> 
> -and downlaoded using
> +and downloaded using
> 
>     hg clone https://bitbucket.org/gxti/hgforest
> 
> @@ -39,7 +39,7 @@
> - How to build?
> 
> To build Nashorn, you need to install JDK 9. You may use the Nashorn
> -forest build (recommended) or down load from java.net.  You will need to
> +forest build (recommended) or download from java.net.  You will need to
> set JAVA_HOME environmental variable to point to your JDK installation
> directory.
> 
> diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java
> --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java
> +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/linker/NashornLinkerExporter.java
> @@ -38,7 +38,7 @@
> 
> /**
>  * This linker exporter is a service provider that exports Nashorn Dynalink
> - * linkers to external users. Other languague runtimes that use Dynalink
> + * linkers to external users. Other language runtimes that use Dynalink
>  * can use the linkers exported by this provider to support tight integration
>  * of Nashorn objects.
>  */
> diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java
> --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java
> +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java
> @@ -735,7 +735,7 @@
>     /**
>      * Name getter - ECMA Function.name
>      *
> -     * @param self self refence
> +     * @param self self reference
>      * @return the name, or undefined if none
>      */
>     public static Object G$name(final Object self) {
> 



More information about the nashorn-dev mailing list