On Tue, 10 May 2022 17:34:34 GMT, Alexander Zuev <[email protected]> wrote:
> Moving cache invalidation from the clearCache method to a createRowWithIndex
> method
> eliminating race condition that causes crash. Now clearCache just notifies
> that cache
> is invalid and should be regenerated next time it is being accessed.
src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TableAccessibility.m line
141:
> 139: [rowCache removeObjectForKey:key];
> 140: }
> 141: cacheValid = YES;
It seems to me that here it is necessary to release the cache.
[rowCache release];
rowCache = nil;
-------------
PR: https://git.openjdk.java.net/jdk/pull/8636