RFR(S): 8151291: $EXEC yields "unknown command" on Cygwin

Jim Laskey (Oracle) james.laskey at oracle.com
Mon Mar 7 12:36:52 UTC 2016


1. use a final static for "/cygdrive"
2. Are you sure you want the ex.printStackTrace(); left in


+1


> On Mar 7, 2016, at 8:28 AM, Michael Haupt <michael.haupt at oracle.com> wrote:
> 
> Dear all,
> 
> please review this change.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8151291
> Webrev: http://cr.openjdk.java.net/~mhaupt/8151291/webrev.00/
> 
> For Cygwin, paths need special attention as the /cygdrive/x/... format is not recognised by Windows.
> 
> 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 | LangTools Team | Nashorn
> Oracle Deutschland B.V. & Co. KG | Schiffbauergasse 14 | 14467 Potsdam, Germany
> 
> ORACLE Deutschland B.V. & Co. KG | Hauptverwaltung: Riesstraße 25, D-80992 München
> Registergericht: Amtsgericht München, HRA 95603
> 
> Komplementärin: ORACLE Deutschland Verwaltung B.V. | Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
> Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
> Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
> <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