RFR: CSR JDK-8233117 Escape Sequences For Line Continuation and White Space (Preview)

Alex Buckley alex.buckley at oracle.com
Tue Nov 5 18:56:20 UTC 2019


I attached text-blocks-jls.html which contains the current unified text 
blocks + new escape sequences spec. Edited the CSR's Specification 
section refer specifically to section 3.10.7 of the attachment rather 
than reproducing some of that section. Made some small edits elsewhere 
related to having only two bold questions (corresponding to two new 
escapes) in the Problem.

Alex

On 11/5/2019 10:00 AM, Jim Laskey wrote:
> Re-proposed.
> 
>> On Nov 5, 2019, at 11:40 AM, Jim Laskey <james.laskey at oracle.com> wrote:
>>
>> I'm withdrawing until it is the correct format. Apologies.
>>
>>
>>> On Nov 5, 2019, at 9:58 AM, Jim Laskey <james.laskey at oracle.com> wrote:
>>>
>>> Please review the following CSR. Provides for the introduction of two new escape sequences \<line-terminator> and \s.  \<line-terminator> allows developers to express unwieldy string literals in a text block as a cluster of short single line segments. The second is to allow developers to express ASCII space, much like \t for tab.
>>>
>>> Thank you.
>>>
>>> Cheers,
>>>
>>> - Jim
>>>
>>> CSR: https://bugs.openjdk.java.net/browse/JDK-8233117
>>>
>>
> 


More information about the compiler-dev mailing list