commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9286] Cached encoder/decoder in Charset not checked to see if its


From: Tom Quarendon
Subject: [bugs #9286] Cached encoder/decoder in Charset not checked to see if its for right Charset!
Date: Thu, 10 Jun 2004 09:30:34 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705)

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #9286] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9286>
Project: classpath
Submitted by: Tom Quarendon
On: Thu 06/10/2004 at 13:28

Severity:  5 - Average
Resolution:  None
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  Cached encoder/decoder in Charset not checked to see if its for right 
Charset!

Original Submission:  The Charset class has static CharsetEncoder and 
CharsetDecoder instnaces which are used in the implementations of encode and 
decode on the Charset class. However if you do the following
   Charset.forName("charseta").decode(bytes)
   Charset.forName("charsetb").decode(bytes)
then the second decode happens with the decoder for "charseta". Either the 
decoder should not be cached, or it needs to be checked to see it it is for the 
right charset.











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9286>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]