-
Bug
-
Resolution: Fixed
-
P3
-
6u13
-
b07
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2229575 | 8-pool | Vladislav Karnaukhov | P3 | Resolved | Fixed | |
JDK-2202276 | 7-pool | Vladislav Karnaukhov | P3 | Closed | Fixed | |
JDK-2192012 | 6u21 | Vladislav Karnaukhov | P3 | Resolved | Fixed | b03 |
JDK-2191897 | 6u20-rev | Vladislav Karnaukhov | P3 | Closed | Fixed | b03 |
JDK-2179881 | 5.0-pool | Vladislav Karnaukhov | P3 | Closed | Won't Fix |
System.out.println("\ud840\udc00".codePointAt(0));
returns
131072, because both \ud840 and \udc00 are surrogate characters.
If one say
JTextPane htmlPane = new JTextPane();
htmlPane.setEditorKit(new HTMLEditorKit());
htmlPane.setText("<html><head></head><body>𠀀</body></html>");
the entity reference won't be parsed correctly into a surrogate pair.
System.out.println(htmlPane.getText());
returns
<html>
<head>
</head>
<body>
�
</body>
</html>
rather than
<html>
<head>
</head>
<body>
��
</body>
</html>
or at least
<html>
<head>
</head>
<body>
𠀀
</body>
</html>
- backported by
-
JDK-2192012 Swing HTML parser can't properly decode codepoints outside the Unicode Plane 0 into a surrogate pair
-
- Resolved
-
-
JDK-2229575 Swing HTML parser can't properly decode codepoints outside the Unicode Plane 0 into a surrogate pair
-
- Resolved
-
-
JDK-2179881 Swing HTML parser can't properly decode codepoints outside the Unicode Plane 0 into a surrogate pair
-
- Closed
-
-
JDK-2191897 Swing HTML parser can't properly decode codepoints outside the Unicode Plane 0 into a surrogate pair
-
- Closed
-
-
JDK-2202276 Swing HTML parser can't properly decode codepoints outside the Unicode Plane 0 into a surrogate pair
-
- Closed
-