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.
------------- Commit messages: - 8286266: [macos] Voice over moving JTable column to be the first column JVM crashes Changes: https://git.openjdk.java.net/jdk/pull/8636/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8636&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8286266 Stats: 19 lines in 2 files changed: 10 ins; 4 del; 5 mod Patch: https://git.openjdk.java.net/jdk/pull/8636.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8636/head:pull/8636 PR: https://git.openjdk.java.net/jdk/pull/8636