RFR: JDK-8291974 PrivateCredentialPermission should not use local variable to enable debugging [v2]
Weijun Wang
weijun at openjdk.org
Tue Oct 4 23:24:17 UTC 2022
On Tue, 4 Oct 2022 22:13:35 GMT, Florent Guillaume <duke at 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
More information about the security-dev
mailing list