public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2
@ 2007-01-07 16:24 David Emmett
  2007-01-07 16:41 ` David Emmett
  0 siblings, 1 reply; 6+ messages in thread
From: David Emmett @ 2007-01-07 16:24 UTC (permalink / raw
  To: gentoo-java

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



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

end of thread, other threads:[~2007-01-07 17:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-07 16:24 [gentoo-java] mockobjects-0.09-r1 won't build against junit-3.8.2 David Emmett
2007-01-07 16:41 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox