1
0

Added code to purge entries who references have been collected. Test contributed by Brian Stansberry.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@139058 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin
2004-11-11 22:31:05 +00:00
parent c24811762a
commit 00b2ab86bf
2 changed files with 66 additions and 0 deletions

View File

@@ -232,5 +232,8 @@ public class WeakHashtableTest extends TestCase {
bytz = bytz * 2;
}
}
// Test that the released objects are not taking space in the table
assertEquals("underlying table not emptied", 0, weakHashtable.size());
}
}