RFR (S): 8080087: Nashorn $ENV.PWD is originally undefined
Marcus Lagergren
marcus.lagergren at oracle.com
Fri Jun 5 10:41:30 UTC 2015
+1
> On 05 Jun 2015, at 11:38, Michael Haupt <michael.haupt at oracle.com> wrote:
>
> Dear all,
>
> please review and sponsor this fix.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8080087
> Webrev: http://cr.openjdk.java.net/~mhaupt/8080087/webrev.00
>
> In Nashorn scripting mode, $ENV.PWD contains the current working directory. This is imported from the environment on unixy platforms. As the PWD variable is nonexistent on Windows by default, it needs to be set explicitly.
>
> Thanks,
>
> Michael
>
> --
>
> <http://www.oracle.com/>
> Dr. Michael Haupt | Principal Member of Technical Staff
> Phone: +49 331 200 7277 | Fax: +49 331 200 7561
> Oracle Java Platform Group | HotSpot Compiler Team
> Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany
> <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment
>
More information about the nashorn-dev
mailing list