This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/21140] New: Charset.encode and Charset.decode broken
- From: "luca dot barbieri at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 21 Apr 2005 03:54:05 -0000
- Subject: [Bug libgcj/21140] New: Charset.encode and Charset.decode broken
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Charset.encode and Charset.decode only work for a single call.
The reason is that the encoder/decoder is cached and after the first call it
will be in the flushed state.
The second call will thus throw an InvalidStateException.
Removing the cache or resetting the cached object should solve this.
--
Summary: Charset.encode and Charset.decode broken
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: luca dot barbieri at gmail dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21140