From: David Emmett <daisy@xs4all.nl>
To: gentoo-java@lists.gentoo.org
Subject: [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2
Date: Sun, 7 Jan 2007 17:24:12 +0100 [thread overview]
Message-ID: <200701071724.12361.daisy@xs4all.nl> (raw)
Hi,
I just submitted a bug in the Gentoo Linux product, bug #160711
I updated my system over Christmas, and then tried to emerge groovy. It kept
failling because of a visibility change between junit 3.8.1 and junit 3.8.2.
The junit.framework.Assert.failNotEquals() method had it's visibility changed
from private to public between junit version 3.8.1 and 3.8.2.
mockobjects has a class com.mockobjects.util.AssertMo which extends Assert,
and overrides the failNotEquals() method, but declares it protected. This
means that mockobjects will no longer compile against junit 3.8.2. The fix is
the change the method (at line 81 of com.mockobjects.util.AssertMo) from
protected to public. I have not worked with epatch, so I don't know how it
works, otherwise I would have submitted a patch. I'll try and figure it out
and submit a patch anyway.
I have also submitted this bug to the mockobjects project. Hopefully, they
will also fix this problem.
Cheers,
David
----
http://www.motogpmatters.com/ - MotoGP News and Race Reports
--
gentoo-java@gentoo.org mailing list
next reply other threads:[~2007-01-07 16:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-07 16:24 David Emmett [this message]
2007-01-07 16:41 ` [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2 David Emmett
2007-01-07 17:01 ` Vlastimil Babka
2007-01-07 17:14 ` David Emmett
2007-01-07 17:25 ` Joshua Nichols
2007-01-07 17:40 ` David Emmett
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=200701071724.12361.daisy@xs4all.nl \
--to=daisy@xs4all.nl \
--cc=gentoo-java@lists.gentoo.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