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

Compiler Support for JEP 355: Text Blocks (Preview)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 13
    • None
    • tools
    • None
    • b25
    • generic
    • generic

    Backports

      Description

        Implement Text Blocks by modifying the compiler scanner to
        - recognizer text block literals as distinct from string literals
        - defer escape sequence translation
        - preflight (validate) escape sequences for error handling
        - preflight (validate) mixed incidental indentation as warning
        - translate line terminators to LF
        - invoke String::stringIndents to remove incidental indentation
        - invoke String::translateEscapes to translate escape sequences

        Attachments

          Issue Links

            Activity

              People

                jlaskey Jim Laskey
                jlaskey Jim Laskey
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: