- 
    Bug 
- 
    Resolution: Fixed
- 
     P2 P2
- 
    7, 8
- 
        b115
- 
        Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8073150 | 7u85 | Sean Coffey | P2 | Resolved | Fixed | b01 | 
| JDK-8010075 | 7u80 | Sean Coffey | P2 | Closed | Fixed | b11 | 
| JDK-8017405 | 6u65 | Sean Coffey | P2 | Closed | Fixed | b02 | 
| JDK-8010076 | 6u60 | Sean Coffey | P2 | Closed | Fixed | b31 | 
| JDK-8019336 | 6u51 | Sean Coffey | P2 | Resolved | Fixed | b31 | 
SHORT SUMMARY:
Unmappable single byte characters are incorrectly handled in multi-byte
encodings
INDICATORS:
Incorrect decoding performed on multi-byte encoding for cases
where un-defined single-bytecode points are encountered
COUNTER INDICATORS:
TRIGGERS:
Issue in JDK 6 (and later) since 6227339 was fixed (6 GA)
KNOWN WORKAROUND: N/A
PRESENT SINCE: JDK 6 FCS
HOW TO VERIFY:
Testcase attached
NOTES FOR SE:
Suggestion as per Dev engineer comments :
The problem of our implementation is that currently if it is not a "valid"
single-byte,
it assumes it's a double-byte, and if it's a double-byte, and if it can't be
mapped to
anything, treat it as a "un-mappable" double-byte., this is a wrong
assumption for
this kind of "undefined" code point. The bottom line is that we should skip
2, for
un-mappable double-byte character, but skip only 1, for un-defined
single-byte
code point.
REGRESSION: Yes.
- backported by
- 
                    JDK-8019336 (cs) Unmappable leading should be decoded to replacement. -           
- Resolved
 
-         
- 
                    JDK-8073150 (cs) Unmappable leading should be decoded to replacement. -           
- Resolved
 
-         
- 
                    JDK-8010075 (cs) Unmappable leading should be decoded to replacement. -           
- Closed
 
-         
- 
                    JDK-8010076 (cs) Unmappable leading should be decoded to replacement. -           
- Closed
 
-         
- 
                    JDK-8017405 (cs) Unmappable leading should be decoded to replacement. -           
- Closed
 
-         
- duplicates
- 
                    JDK-8025896 (cs) Better handling for invalid byte sequences in doublebyte decoders -           
- Closed
 
-         
- 
                    JDK-8019940 JDK MS932/PCK Encoding issue -           
- Closed
 
-         
- 
                    JDK-8019941 JDK MS932/PCK Encoding issue -           
- Closed
 
-         
- relates to
- 
                    JDK-8160939 TrueType Fonts that use a CJK CMAP encoding are broken by 8008386. -           
- Open
 
-         
- 
                    JDK-8075092 Remove erroneous println statement from DoubleByteDecoder -           
- Resolved
 
-         
- 
                    JDK-8161237 Some True Type fonts no longer work in Java 8 -           
- Closed
 
-