JDK-8200434 : String::align, String::indent
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-03-29
  • Updated: 2019-06-12
  • Resolved: 2018-09-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 12
12 b12Fixed
Related Reports
CSR :  
Relates :  
Relates :  
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.