[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/22831] New: applyLocalizedPattern doesn't work for it_IT
From: |
tromey at gcc dot gnu dot org |
Subject: |
[Bug classpath/22831] New: applyLocalizedPattern doesn't work for it_IT (Italy) locale |
Date: |
15 Aug 2005 20:44:29 -0000 |
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
------- Additional Comments From from-classpath at savannah dot gnu dot org
2005-01-12 12:46 -------
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.
------- Additional Comments From from-classpath at savannah dot gnu dot org
2005-01-12 12:51 -------
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.
------- Additional Comments From from-classpath at savannah dot gnu dot org
2005-01-12 13:27 -------
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
------- Additional Comments From from-classpath at savannah dot gnu dot org
2005-01-12 14:56 -------
Yes, I see the same segfault result here, and this is already filed under bug
#11458. It occurs with a simple "Hello World" application as well, and I don't
believe it's related to the Currency changes as it also occurs with en_US.
Very odd.
------- Additional Comments From from-classpath at savannah dot gnu dot org
2005-01-12 14:57 -------
Does this also now work as described with GCC?
------- Additional Comments From tromey at gcc dot gnu dot org 2005-08-15
20:44 -------
Apparently this has been fixed.
--
Summary: applyLocalizedPattern doesn't work for it_IT (Italy)
locale
Product: classpath
Version: unspecified
Status: RESOLVED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: from-classpath at savannah dot gnu dot org
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22831
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/22831] New: applyLocalizedPattern doesn't work for it_IT (Italy) locale,
tromey at gcc dot gnu dot org <=