[jdk17] RFR: JDK-8269150 Unicode \u005C not treated as an escaping backslash [v8]
Jim Laskey
jlaskey at openjdk.java.net
Fri Jul 23 16:26:10 UTC 2021
On Wed, 23 Jun 2021 15:53:13 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:
>> test/langtools/tools/javac/T8269150/T8269150.java line 33:
>>
>>> 31: public class T8269150 {
>>> 32: public static void main(String... args) {
>>> 33: System.err.println("\u005C\\u005D");
>>
>> This seems to be a very weak "don't crash" test.
>> Shouldn't it check what is printed as well?
>
> Sure
Test expanded
-------------
PR: https://git.openjdk.java.net/jdk17/pull/126
More information about the compiler-dev
mailing list