|
From: SourceForge.net <no...@so...> - 2012-08-01 02:23:57
|
Bugs item #3552578, was opened at 2012-07-31 06:33 Message generated for change (Settings changed) made by robeden You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=424682&aid=3552578&group_id=39235 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Correctness >Group: Next Minor Release Status: Open Resolution: None >Priority: 8 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Rob Eden (robeden) Summary: TUnmodifiableIntList equals is broken Initial Comment: Reporting against trove4j 3.0.3 The following test fails: @Test public void testTrove() throws Exception { final TIntArrayList one = new TIntArrayList(new int[]{1, 2, 3, 4}); final TIntArrayList two = new TIntArrayList(new int[]{1, 2, 3, 4}); TIntList uOne = TCollections.unmodifiableList(one); TIntList uTwo = TCollections.unmodifiableList(two); Assert.assertTrue("Expecting one and two to be equal", one.equals(two)); Assert.assertTrue("Expecting uOne and uTwo to be equal", uOne.equals(uTwo)); } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=424682&aid=3552578&group_id=39235 |