This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]