JDK-8243011 : Release Note: JEP 378: Text Blocks
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 15
  • Priority: P3
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2020-04-16
  • Updated: 2021-05-14
  • Resolved: 2020-04-16
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 15
15Resolved
Description
Text blocks have been added to the Java language. A text block is a multi-line string literal that avoids the need for most escape sequences, automatically formats the string in a predictable way, and gives the developer control over the format when desired.