Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8073613

Here documents: how to avoid string interpolation?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • core-libs
    • None
    • b80
    • generic
    • generic


        This was reported via nashorn-dev openjdk alias. http://mail.openjdk.java.net/pipermail/nashorn-dev/2015-February/004204.html

        Email content here for reference:

        Hi

        How can I avoid string interpolation in here documents with Nashorn? In
        other words: what if the here document contains the literal string
        "${a}"? The user guide section on here documents [1] doesn't tell how to
        do this.
        If this is not available yet, shall I create a bug report for this?

        Kind regards, Anthony

        [1]
        http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/shell.html#sthref26

              mhaupt Michael Haupt
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: