-
Bug
-
Resolution: Fixed
-
P2
-
22, 23
-
b03
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8322559 | 22.0.1 | Aleksei Voitylov | P2 | Resolved | Fixed | b02 |
JDK-8322502 | 22 | Aleksei Voitylov | P2 | Closed | Fixed | b29 |
After the changes for JDK-8311906, an attempt to compile the following pattern: "ab(\\P{all})+" fails with: java.util.regex.PatternSyntaxException: Unknown character property name {} near index 9 if compact strings is not enabled.
As a result, javac won't work on a platform where compact strings are not enabled by default.
However, the problem itself is platform-independent, and can be reproduced on all platforms with -XX:-CompactStrings
As a result, javac won't work on a platform where compact strings are not enabled by default.
However, the problem itself is platform-independent, and can be reproduced on all platforms with -XX:-CompactStrings
- backported by
-
JDK-8322559 UTF16 string gets constructed incorrectly from codepoints if CompactStrings is not enabled
-
- Resolved
-
-
JDK-8322502 UTF16 string gets constructed incorrectly from codepoints if CompactStrings is not enabled
-
- Closed
-
- relates to
-
JDK-8311906 Improve robustness of String constructors with mutable array inputs
-
- Closed
-
- links to
-
Commit openjdk/jdk22/049be572
-
Commit openjdk/jdk/fde5b168
-
Review openjdk/jdk22/18
-
Review openjdk/jdk/17057
(2 links to)