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

Michael Haupt michael.haupt at oracle.com
Wed Aug 26 07:36:06 UTC 2015

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.




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