public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* TestCase.fail() bug
@ 2007-04-17 17:08 Chris Moller
  2007-04-17 17:20 ` Chris Moller
  2007-04-18 17:17 ` Andrew Cagney
  0 siblings, 2 replies; 13+ messages in thread
From: Chris Moller @ 2007-04-17 17:08 UTC (permalink / raw)
  To: frysk, frysk

[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]

Hello, Fryskers, wherever you are!

Per the attached exchange between Andrew and me, does anyone have any
idea how to fix this kind of bug?  I'm not a Java guy and haven't a
clue, and the suggestions I got from Phil on IRC regarding similar uses
of TestCase.fail() in frysk weren't similar enough to the uses in
AttachedSelf.java that I could apply them.

Any advice/suggestions/sympathy would be greatly appreciated,
Chris

-------- Original Message --------

Chris,

It's the new more pedantic ECJ; Mark's mentioned this on irc and 
frysk@.  I'd send it to frysk@ asking for suggestions :-)

Andrew

> Hey, Andrew,
>
> The following bug just popped up on some code you added on Friday.  It's
> coming from a rawhide machine, so I don't know if it's a real bug or a
> gcj/ecj gotcha.  Anyway, FWIW:
>
> /home/moller/tinkering/frysk/04-16/build/frysk-imports/../../frysk/frysk-imports/frysk/testbed/AttachedSelf.java:66:
> error: The static method fail(String) from the type Assert should be
> accessed directly
>         TestCase.fail (why);
>         ^^^^^^^^^^^^^^^^^^^
> /home/moller/tinkering/frysk/04-16/build/frysk-imports/../../frysk/frysk-imports/frysk/testbed/AttachedSelf.java:77:
> error: The static method fail(String) from the type Assert should be
> accessed directly
>         TestCase.fail ("unexpected signal " + sig);
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2 problems (2 errors)
> make[3]: *** [frysk/sys/TestPtraceServer.o] Error 1
>
>
>
>
>   




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-04-19 20:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-17 17:08 TestCase.fail() bug Chris Moller
2007-04-17 17:20 ` Chris Moller
2007-04-18 17:17 ` Andrew Cagney
2007-04-18 17:24   ` Chris Moller
2007-04-18 17:32     ` Phil Muldoon
2007-04-18 18:13       ` Chris Moller
2007-04-18 17:37     ` Nurdin Premji
2007-04-18 20:08     ` Tom Tromey
2007-04-19  3:02       ` Chris Moller
2007-04-19 13:16         ` Mark Wielaard
2007-04-19 13:57           ` Andrew Cagney
2007-04-19 14:17             ` Mark Wielaard
2007-04-24 12:46               ` Tom Tromey

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).