commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #9286] Cached encoder/decoder in Charset not checked t


From: Michael Koch
Subject: [commit-cp] [bugs #9286] Cached encoder/decoder in Charset not checked to see if its for right Charset!
Date: Wed, 12 Jan 2005 06:47:31 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; i686; de) (KHTML, like Gecko)

This is an automated notification sent by Savannah.
It relates to:
                bugs #9286, project classpath

==============================================================================
 LATEST MODIFICATIONS of bugs #9286:
==============================================================================

               Posted by: Michael Koch <mkoch>
               Posted on: 2005-01-12 06:47 (GMT)
    _______________________________________________________

                Category:                    None -> classpath              


==============================================================================
 OVERVIEW of bugs #9286:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9286>

                 Summary: Cached encoder/decoder in Charset not checked to
see if its for right Charset!
                 Project: classpath
            Submitted by: quarendont
            Submitted on: Don 10.06.2004 um 13:28
                Category: classpath
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________


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.






==============================================================================

This item URL is:
  <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]