commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #11542] applyLocalizedPattern doesn't work for it_IT (


From: Michael Koch
Subject: [commit-cp] [bugs #11542] applyLocalizedPattern doesn't work for it_IT (Italy) locale
Date: Wed, 12 Jan 2005 13:27:07 +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 #11542, project classpath

==============================================================================
 LATEST MODIFICATIONS of bugs #11542:
==============================================================================

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

Follow-up Comment:
On my system I cannot reproduce it with several locales anymore. But I get s
segfault for locales which have no currency.



address@hidden ~> /home/mkoch/local/jamvm/bin/jamvm Launch

###.##0,00  123.456,00  it_IT

123456.0

address@hidden ~> LC_ALL=de_DE /home/mkoch/local/jamvm/bin/jamvm Launch

###.##0,00  123.456,00  it_IT

123456.0

address@hidden ~> LC_ALL=C /home/mkoch/local/jamvm/bin/jamvm Launch

###.##0,00  123.456,00  it_IT

123456.0

address@hidden ~> LC_ALL=en /home/mkoch/local/jamvm/bin/jamvm Launch

Speicherzugriffsfehler

address@hidden ~> LC_ALL=andrew /home/mkoch/local/jamvm/bin/jamvm Launch

Speicherzugriffsfehler



==============================================================================
 OVERVIEW of bugs #11542:
==============================================================================

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

                 Summary: applyLocalizedPattern doesn't work for it_IT
(Italy) locale
                 Project: classpath
            Submitted by: None
            Submitted on: Son 09.01.2005 um 18:22
                Category: classpath
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: gnu_andrew
             Open/Closed: Analyzed
        Platform Version: None

    _______________________________________________________


This is what I get when I try to run native Launch app:



address@hidden ~/workspace/prova $ ./Launch 

Exception in thread "main" java.lang.IllegalArgumentException: separator
character expected - index: 4

   at java.text.DecimalFormat.applyPatternWithSymbols(java.lang.String,
java.text.DecimalFormatSymbols) (/usr/lib/libgcj.so.5.0.0)

   at java.text.DecimalFormat.applyLocalizedPattern(java.lang.String)
(/usr/lib/libgcj.so.5.0.0)

   at Launch.main(java.lang.String[]) (Unknown Source)

address@hidden ~/workspace/prova $ ./Launch en EN

###,##0.00  123,456.00  en_EN

123456.0







    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mit 12.01.2005 um 13:27       By: Michael Koch <mkoch>
On my system I cannot reproduce it with several locales anymore. But I get s
segfault for locales which have no currency.



address@hidden ~> /home/mkoch/local/jamvm/bin/jamvm Launch

###.##0,00  123.456,00  it_IT

123456.0

address@hidden ~> LC_ALL=de_DE /home/mkoch/local/jamvm/bin/jamvm Launch

###.##0,00  123.456,00  it_IT

123456.0

address@hidden ~> LC_ALL=C /home/mkoch/local/jamvm/bin/jamvm Launch

###.##0,00  123.456,00  it_IT

123456.0

address@hidden ~> LC_ALL=en /home/mkoch/local/jamvm/bin/jamvm Launch

Speicherzugriffsfehler

address@hidden ~> LC_ALL=andrew /home/mkoch/local/jamvm/bin/jamvm Launch

Speicherzugriffsfehler



-------------------------------------------------------
Date: Mit 12.01.2005 um 12:51       By: Andrew John Hughes <gnu_andrew>
Sorry, didn't see the code attachment!



I get the same bug with gcj 3.4, but it appears fixed in 

GNU Classpath CVS with JamVM:



 java Launch

###.##0,00  123.456,00  it_IT

123456.0



Can someone confirm this is the case with gcj CVS also?  If so, I believe we
can close this bug.





-------------------------------------------------------
Date: Mit 12.01.2005 um 12:46       By: Anonymous
Do you have any non-proprietary test code which demonstrates this issue? 
With current CVS Classpath + JamVM, I can create DecimalFormat instances
using it_IT fine.  Could someone test that this is the case with gcj?  I only
have 3.4 here, which doesn't show this issue either.







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Son 09.01.2005 um 18:22  Name: Launch.java  Size: 941B   By: None
Example file
<http://savannah.gnu.org/bugs/download.php?item_id=11542&item_file_id=2046>

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

This item URL is:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11542>

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





reply via email to

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