java-prs@gcc.gnu.org
[Top] [All Lists]

[Bug libgcj/21736] New: MessageFormat("{0,time,medium}") fails

Subject: [Bug libgcj/21736] New: MessageFormat("{0,time,medium}") fails
From: "gbenson at redhat dot com"
Date: 24 May 2005 10:00:27 -0000
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

<Prev in Thread] Current Thread [Next in Thread>