Hi! This patch makes UTF_16 to be not always BIG_ENDIAN (as in the RI). And, as a consequence, UnicodeBig is added (to be the opposite to UnicodeLittle).
Also, since MS874==Cp874, one of the lookup tables is removed. ChangeLog entries: * gnu/java/nio/charset/Cp874.java (lookup): Don't make the field private (to be accessible from MS874). * gnu/java/nio/charset/MS874.java (lookup): Remove since has the same content as in Cp874 class. * gnu/java/nio/charset/MS874.java (MS874): Use Cp874.lookup. * gnu/java/nio/charset/Provider.java (Provider): Add UnicodeBig charset. * gnu/java/nio/charset/UTF_16.java (UTF_16): Remove "UnicodeBig" from the aliases list. * gnu/java/nio/charset/UTF_16.java (newEncoder): Use little or big endian depending on the system property value. * gnu/java/nio/charset/UnicodeBig.java: New file. * gnu/java/nio/charset/UnicodeLittle.java (UnicodeLittle): Update the comment.
classpath-ivmai-08.diff
Description: Binary data