public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: libgcj/2429: java.text.MessageFormat broken
Date: Fri, 30 Mar 2001 20:16:00 -0000	[thread overview]
Message-ID: <20010331041601.13263.qmail@sourceware.cygnus.com> (raw)

The following reply was made to PR libgcj/2429; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: torsten.rueger@firsthop.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libgcj/2429: java.text.MessageFormat broken
Date: 30 Mar 2001 21:22:59 -0700

 >>>>> "Torsten" == torsten rueger <torsten.rueger@firsthop.com> writes:
 
 Torsten> At first I could not instantiate MessageFormat with "{1,time}
 Torsten> {2}:{3} {4}". I fixed this with an else in line 91 in
 Torsten> java.text.MessageFormat. Then using it caused illegal
 Torsten> Argument. Attatched is a small Test program that should show
 Torsten> the problem.
 
 I agree that the `else' fix is required.  Thanks.
 
 The other bug is in your program.
 
 You can make your program work by changing main to use:
 
     LogFile log = new LogFile("log.file","{0,time} {1}:{2} {3}","ERROR",
 			      null,true);
     log.flush();
 
 Our MessageFormat doesn't give very nice error messages,
 unfortunately.  I will change this PR to reflect this as the real bug
 -- much debugging would have been saved if it did.
 
 Tom


             reply	other threads:[~2001-03-30 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-30 20:16 Tom Tromey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-03-29 23:26 torsten.rueger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010331041601.13263.qmail@sourceware.cygnus.com \
    --to=tromey@redhat.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).