https://issues.apache.org/bugzilla/show_bug.cgi?id=48634
--- Comment #3 from [email protected] 2010-01-29 04:57:18 UTC --- (In reply to comment #1) > (In reply to comment #0) > > The LRUCache.used list grows up to 50. The LRUCache.setSize method is not > > able > > to flush the LRUCache.used list because there is if statement (inferior > > strict) > > on the maxsize (at 0) value against the new size (at 0). > > > > If think a workaround would be to call LRUCache.setSized twice, the first > > with > > value > 50 and the second with 0 > > Could you help checking whether this issue is still present in the current > trunk code [1]? > > If the issue is still present, as you seem to have enough knowledge on how to > fix it, I'd invite you to attach a patch into this bug report. That would > definitely help towards getting the bug fixed in the next release! :-) I will post a patch. Does a test cover the LRUCache class ? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
