[Bug libgcj/29178] CharsetEncoder.canEncode() gives different results than Sun version

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 25 21:04:00 GMT 2006



------- Comment #2 from tromey at gcc dot gnu dot org  2006-09-25 21:04 -------
Subject: Bug 29178

Author: tromey
Date: Mon Sep 25 21:04:01 2006
New Revision: 117209

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117209
Log:
        PR libgcj/29178:
        * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
        (Encoder.canEncode): Likewise.
        (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
        * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
        method.
        (Encoder.canEncode): Likewise.
        * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
        method.
        (Encoder.canEncode): Likewise.

Modified:
    trunk/libjava/classpath/ChangeLog.gcj
    trunk/libjava/classpath/gnu/java/nio/charset/ByteCharset.java
    trunk/libjava/classpath/gnu/java/nio/charset/ISO_8859_1.java
    trunk/libjava/classpath/gnu/java/nio/charset/US_ASCII.java


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29178



More information about the Java-prs mailing list