classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Currency getLocale(String) patch


From: Andrew John Hughes
Subject: [cp-patches] Currency getLocale(String) patch
Date: Mon, 17 Jan 2005 00:59:02 +0000
User-agent: Mutt/1.5.6+20040907i

I'm committing the attached patch to fix a bug where calls to 
getCurrency(String)
reach a locale without a country and abort on an exception.

2005-01-17  Andrew John Hughes  <address@hidden>

        * java/util/Currency.java:
        (getInstance(String)): catch IllegalArgumentException
        for locales without countries
        
-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history. 
`Don't bother us with politics' respond those who don't want to learn." 
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known --
Windows" 
-- Victor Wheatman, Gartner

Attachment: currency-04.diff
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

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