From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H3apM-00025L-6H for garchives@archives.gentoo.org; Sun, 07 Jan 2007 16:24:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l07GODQ6007298; Sun, 7 Jan 2007 16:24:13 GMT Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l07GODgg027903 for ; Sun, 7 Jan 2007 16:24:13 GMT Received: from kropotkin.xs4all.nl (roosjebb.xs4all.nl [213.84.29.125]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id l07GOD2d030631 for ; Sun, 7 Jan 2007 17:24:13 +0100 (CET) (envelope-from daisy@xs4all.nl) From: David Emmett 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 User-Agent: KMail/1.9.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701071724.12361.daisy@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Archives-Salt: 87c49cd3-9722-495c-afa4-3e4bbba8da26 X-Archives-Hash: 938fa2317156426a23e82b54a216b5e0 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