Targeting JEP 326: Raw String Literal for JDK 12
James Laskey
james.laskey at oracle.com
Thu Jul 5 21:05:51 UTC 2018
You are correct. I thought I caught all the stray cases, but... The examples should have indentations that are multiples of 4. The issue with pasting from IDEs to mailers.
Sent from my iPhone
> On Jul 5, 2018, at 5:37 PM, Guy Steele <guy.steele at oracle.com> wrote:
>
>
>> On Jul 5, 2018, at 4:11 PM, Jim Laskey <james.laskey at oracle.com> wrote:
>>
>> With your guidance, we consider the Raw String Literal design and initial implementation has stabilized enough to target JEP 326 as a Preview Language Feature in JDK 12. Before we proceed, we’d like review some of recommendations made since JEP 326 was proposed as Candidate.
>> . . .
>
>
> A warning: not all of the given “Output” examples have exactly the correct number of leading spaces on all lines. In the example for “align()”, for example, what is shown is:
>
> Example:
>
> String html = `
> <html>
> <body>
> <p>Hello World.</p>
> </body>
> </html>
> `.align();
> System.out.print(html);
>
> Output:
> <html>
> <body>
> <p>Hello World.&</p>
> </body>
> </html>
>
> but I believe the correct output would be:
>
> Output:
> <html>
> <body>
> <p>Hello World.&</p>
> </body>
> </html>
>
> That is, each of the middle three lines of output needed to have an additional leading space character.
>
> Otherwise everything in the email looked okay to me.
>
> —Gy
>
>
>
More information about the amber-dev
mailing list