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

Remi Forax forax at univ-mlv.fr
Tue Nov 5 18:17:19 UTC 2019


Hi Jim,
the rationale to add \<newline> is well explain but why do you want to introduce \s given we already have \u0020 ?

Rémi 

----- Mail original -----
> De: "Jim Laskey" <james.laskey at oracle.com>
> À: "core-libs-dev" <core-libs-dev at openjdk.java.net>, "compiler-dev" <compiler-dev at openjdk.java.net>
> Envoyé: Mardi 5 Novembre 2019 19:00:32
> Objet: Re: RFR: CSR JDK-8233117 Escape Sequences For Line Continuation and White Space (Preview)

> 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