On Tue, 4 Oct 2022 22:13:35 GMT, Florent Guillaume <d...@openjdk.org> wrote:

>> String a = """
>>             xxx
>>             yyy
>>         """;
>> 
>> 
>> is not the same as
>> 
>> 
>>         String a =
>>             "xxx" +
>>             "yyy"
>>         ;
>> 
>> `a` contains an embedded newline; `b` does not.
>
> @mcpowers the idea would be to use
> 
>     String a = """
>             xxx\
>             yyy\
>         """;

Either is OK. That's why I proposed `getMimeDecoder` that will skip the newline 
characters.

-------------

PR: https://git.openjdk.org/jdk/pull/10206

Reply via email to