public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/6296] java.text.DateFormatSymbols and invalid locale ("yi, "yi") from Mauve
       [not found] <20020414074601.6296.mark@klomp.org>
@ 2003-05-27  5:36 ` dhazeghi@yahoo.com
  2003-05-27  5:42 ` dhazeghi@yahoo.com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: dhazeghi@yahoo.com @ 2003-05-27  5:36 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6296



------- Additional Comments From dhazeghi@yahoo.com  2003-05-27 05:16 -------
Hello,

would it be possible for you to check whether this bug still occurs on gcc 3.3? Thanks,

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/6296] java.text.DateFormatSymbols and invalid locale ("yi, "yi") from Mauve
       [not found] <20020414074601.6296.mark@klomp.org>
  2003-05-27  5:36 ` [Bug libgcj/6296] java.text.DateFormatSymbols and invalid locale ("yi, "yi") from Mauve dhazeghi@yahoo.com
@ 2003-05-27  5:42 ` dhazeghi@yahoo.com
  2003-05-27 14:52 ` pinskia@physics.uc.edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: dhazeghi@yahoo.com @ 2003-05-27  5:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6296



------- Additional Comments From dhazeghi@yahoo.com  2003-05-27 05:40 -------
Hello,

I can reproduce this bug with gcc 3.3:

bash-2.04$ echo gnu.testlet.java.text.DateFormatSymbols.Test | ./SimpleTestHarness
FAIL: gnu.testlet.java.text.DateFormatSymbols.Test: invalid locale (number 1)
1 of 9 tests failed

Dara



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/6296] java.text.DateFormatSymbols and invalid locale ("yi, "yi") from Mauve
       [not found] <20020414074601.6296.mark@klomp.org>
  2003-05-27  5:36 ` [Bug libgcj/6296] java.text.DateFormatSymbols and invalid locale ("yi, "yi") from Mauve dhazeghi@yahoo.com
  2003-05-27  5:42 ` dhazeghi@yahoo.com
@ 2003-05-27 14:52 ` pinskia@physics.uc.edu
  2005-01-20 19:37 ` gnu_andrew at member dot fsf dot org
  2005-01-20 21:22 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-27 14:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6296


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-27 14:45:05
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-27 14:45 -------
See Dara's comment.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/6296] java.text.DateFormatSymbols and invalid locale ("yi, "yi") from Mauve
       [not found] <20020414074601.6296.mark@klomp.org>
                   ` (2 preceding siblings ...)
  2003-05-27 14:52 ` pinskia@physics.uc.edu
@ 2005-01-20 19:37 ` gnu_andrew at member dot fsf dot org
  2005-01-20 21:22 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2005-01-20 19:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gnu_andrew at member dot fsf dot org  2005-01-20 19:37 -------
This testcase fails on gcj (up to 3.4 at least), GNU Classpath CVS HEAD and
Sun's JDK.  Reading the specification for java.util.ResourceBundle suggests that
this is the correct behaviour; the combination of bundle names tried includes
both those for the supplied locale, the base name and the default locale.

Adding Locale.setDefault(new Locale("yi","yi")) confirms this by making the test
path using Classpath CVS (although it still fails with Sun's JDK, presumably due
to the documented issues with using Locale.setDefault).

As a result, I would suggest that this testcase is instead removed.  The only
cases where a MissingResourceException would be thrown is where the resource
bundle really is missing (e.g. a non-existant one such as gnu.java.foo) and this
is really a test case for java.util.ResourceBundle rather than this class.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6296


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libgcj/6296] java.text.DateFormatSymbols and invalid locale ("yi, "yi") from Mauve
       [not found] <20020414074601.6296.mark@klomp.org>
                   ` (3 preceding siblings ...)
  2005-01-20 19:37 ` gnu_andrew at member dot fsf dot org
@ 2005-01-20 21:22 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-20 21:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-20 21:22 -------
Not a bug via the documentation.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6296


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-20 21:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020414074601.6296.mark@klomp.org>
2003-05-27  5:36 ` [Bug libgcj/6296] java.text.DateFormatSymbols and invalid locale ("yi, "yi") from Mauve dhazeghi@yahoo.com
2003-05-27  5:42 ` dhazeghi@yahoo.com
2003-05-27 14:52 ` pinskia@physics.uc.edu
2005-01-20 19:37 ` gnu_andrew at member dot fsf dot org
2005-01-20 21:22 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).