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.
- csr for
-
JDK-8200435 String::align, String::indent
-
- Closed
-
- relates to
-
JDK-8210550 Applying String::align and String::indent at Compile Time
-
- Closed
-
-
JDK-8196005 Library support for Raw String Literals
-
- Resolved
-