RFR: JDK-8291974 PrivateCredentialPermission should not use local variable to enable debugging [v2]

Mark Powers mpowers at openjdk.org
Tue Oct 4 23:40:13 UTC 2022


On Tue, 4 Oct 2022 23:20:53 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> @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.

I'll go with Text Blocks and Florent's suggestion, but thanks for mentioning `getMimeDecoder`. I'm sure I'll find a use for it in the future.

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

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



More information about the security-dev mailing list