RFR(S): 8143642: Nashorn shebang argument handling is broken

Michael Haupt michael.haupt at oracle.com
Thu Nov 26 11:00:58 UTC 2015


Hi Hannes,

thank you - I'm going to push the change at http://cr.openjdk.java.net/~mhaupt/8143642/webrev.01 which sports such an example.

Best,

Michael

> Am 26.11.2015 um 11:50 schrieb Hannes Wallnoefer <hannes.wallnoefer at oracle.com>:
> 
> +1
> 
> Since the argument reshuffling is difficult to describe it would be nice if you could add an example as well: shebang line, args before, args after.
> 
> Hannes
> 
> Am 2015-11-26 um 10:42 schrieb Michael Haupt:
>> Dear all,
>> 
>> please review this change.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8143642
>> Webrev: http://cr.openjdk.java.net/~mhaupt/8143642/webrev.00
>> 
>> It enables passing arguments to scripts when they are run in shebang mode.
>> 
>> 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
 <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