JDK-8223967 : Compiler Support for JEP 355: Text Blocks (Preview)
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2019-05-15
  • Updated: 2019-06-14
  • Resolved: 2019-06-06
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 13 JDK 14
13 b25Fixed 14Fixed
Related Reports
CSR :  
Relates :  
Relates :  
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
Comments
https://mail.openjdk.java.net/pipermail/compiler-dev/2019-May/013329.html
30-05-2019