Details
-
Bug
-
Resolution: Fixed
-
P2
-
16, 17
-
b33
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8271312 | 18 | Jim Laskey | P2 | Resolved | Fixed | b08 |
JDK-8271662 | 17.0.2 | Jim Laskey | P2 | Resolved | Fixed | b01 |
JDK-8271799 | 17.0.1 | Jim Laskey | P2 | Resolved | Fixed | b05 |
Description
public class T {
public static void main(String[] args) {
System.out.println("\u005C\\u005D");
}
}
The leading \u005C, equivalent to a backslash, should escape the following backslash and the output should be "\]". This was broken by
Attachments
Issue Links
- backported by
-
JDK-8271312 UnicodeReader not translating \u005c\\u005d to \\]
-
- Resolved
-
-
JDK-8271662 UnicodeReader not translating \u005c\\u005d to \\]
-
- Resolved
-
-
JDK-8271799 UnicodeReader not translating \u005c\\u005d to \\]
-
- Resolved
-
- csr for
-
JDK-8269290 UnicodeReader not translating \u005c\\u005d to \\]
-
- Closed
-
- relates to
-
JDK-8269406 3.3: Clarify the effect of Unicode escape processing
-
- Resolved
-
-
JDK-8254073 Tokenizer improvements (revised)
-
- Resolved
-
-
JDK-8271171 obnoxious backslash puzzlers should be linted with -Xlint:unicode-escapes
-
- New
-