RFR(S): 8073613: Here documents: how to avoid string interpolation?

Attila Szegedi attila.szegedi at oracle.com
Wed Aug 26 07:49:28 UTC 2015


+1

> On Aug 26, 2015, at 9:36 AM, Michael Haupt <michael.haupt at oracle.com> wrote:
> 
> Dear all,
> 
> please review this fix.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8073613
> Webrev: http://cr.openjdk.java.net/~mhaupt/8073613/webrev.00
> 
> The fix extends the syntax for heredocs in scripting mode with support for suppressing variable expansion etc. in heredocs if the heredoc end marker is quoted. This is aligned with how bash and PHP handle end marker quoting.
> 
> Best,
> 
> 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