From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24603 invoked by alias); 24 May 2005 10:00:40 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 24523 invoked by uid 48); 24 May 2005 10:00:27 -0000 Date: Tue, 24 May 2005 10:00:00 -0000 From: "gbenson at redhat dot com" To: java-prs@gcc.gnu.org Message-ID: <20050524100019.21736.gbenson@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/21736] New: MessageFormat("{0,time,medium}") fails X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00546.txt.bz2 List-Id: 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