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

String::align, String::indent

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      generic
    • OS:
      generic

      Description

      With the introduction of JEP 326 Raw String Literals, it is expected that developers will make routine use of multi-line strings in their applications. Unfortunately, Raw String Literals are inherently non-discerning of formatting conventions used in code surrounding the literal. That is, if the literal is indented to align with code where the literal is marshalled, then incidental indentation may be assimilated that is not desired in the result.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: