On Tue, 4 Oct 2022 19:28:27 GMT, Sean Mullan <mul...@openjdk.org> wrote:
>> Or use string concatenation, e.g. "xxx" + "yyy". > > This looks like a good candidate for Text Blocks: https://openjdk.org/jeps/378 String a = """ xxx yyy """; is not the same as String a = "xxx" + "yyy" ; `a` contains an embedded newline; `b` does not. ------------- PR: https://git.openjdk.org/jdk/pull/10206