This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/21736] New: MessageFormat("{0,time,medium}") fails
- From: "gbenson at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2005 10:00:24 -0000
- Subject: [Bug libgcj/21736] New: MessageFormat("{0,time,medium}") fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Attempting to create a MessageFormat with a "time" element styled as "medium"
raises an exception. The error, in MessageFormat.setLocale(), happens because
DateFormat.DEFAULT has the same value as DateFormat.MEDIUM, and the code was
obviously written with the assumption that this is not the case.
--
Summary: MessageFormat("{0,time,medium}") fails
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gbenson at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21736
- Follow-Ups:
- [Bug libgcj/21736] MessageFormat("{0,time,medium}") fails
- From: gbenson at redhat dot com
- [Bug libgcj/21736] MessageFormat("{0,time,medium}") fails
- From: gbenson at redhat dot com
- [Bug libgcj/21736] MessageFormat("{0,time,medium}") fails
- From: tromey at gcc dot gnu dot org
- [Bug libgcj/21736] MessageFormat("{0,time,medium}") fails
- From: cvs-commit at gcc dot gnu dot org
- [Bug libgcj/21736] MessageFormat("{0,time,medium}") fails
- From: tromey at gcc dot gnu dot org
- [Bug libgcj/21736] MessageFormat("{0,time,medium}") fails
- From: gbenson at redhat dot com
- [Bug libgcj/21736] MessageFormat("{0,time,medium}") fails
- From: cvs-commit at gcc dot gnu dot org
- [Bug libgcj/21736] MessageFormat("{0,time,medium}") fails
- From: tromey at gcc dot gnu dot org