changeset 5986 | 04eb44085c00 |
parent 5785 | 5dfabe612d10 |
child 7668 | d4a77089c587 |
--- a/jdk/src/share/classes/sun/nio/cs/ext/GB18030.java Wed Jun 30 16:11:31 2010 -0700 +++ b/jdk/src/share/classes/sun/nio/cs/ext/GB18030.java Wed Jun 30 16:11:32 2010 -0700 @@ -12628,7 +12628,7 @@ if (Character.isSurrogate(c)) { if ((condensedKey=sgp.parse(c, sa, sp, sl)) < 0) return sgp.error(); - // Surogate.toUCS4 looks like + // Character.toCodePoint looks like // (((high & 0x3ff) << 10) | (low & 0x3ff)) + 0x10000; // so we add (0x2e248 - 0x10000) to get the "key". condensedKey += 0x1E248;