
|
If you were logged in you would be able to see more operations.
|
|
|
OSCache
Created: 05/Jun/07 08:50 PM
Updated: 01/Jul/07 01:41 AM
|
|
| Component/s: |
Listeners
|
| Affects Version/s: |
2.4
|
| Fix Version/s: |
2.4.1
|
|
|
Calling flushAll on an instance of class Cache should cause the cacheFlushed method to be called on any CacheEntryEventListener's configured on that cache. This is not happening.
There is a bug in the dispatchCachewideEvent method of class Cache. The cacheFlush method is not being called because the wrong index is supplied to the listeners[] array in the instanceof test.
Cache.java line 952:
if (listeners[i] instanceof CacheEntryEventListener) {
should be:
if (listeners[i+1] instanceof CacheEntryEventListener) {
|
|
Description
|
Calling flushAll on an instance of class Cache should cause the cacheFlushed method to be called on any CacheEntryEventListener's configured on that cache. This is not happening.
There is a bug in the dispatchCachewideEvent method of class Cache. The cacheFlush method is not being called because the wrong index is supplied to the listeners[] array in the instanceof test.
Cache.java line 952:
if (listeners[i] instanceof CacheEntryEventListener) {
should be:
if (listeners[i+1] instanceof CacheEntryEventListener) {
|
Show » |
|