This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]