RFR: 8298644 JNI call of getCurrentComponent on a wrong thread [v7]
Artem Semenov
asemenov at openjdk.org
Tue Jan 10 11:21:19 UTC 2023
> [OutlineRowAccessibility currentAccessibleWithENV:] defines the getCurrentComponent method on the AccessibleContext instance of AccessibleJTreeNode class, however the call should go through CAccessibility so that it is executed on the Event Dispatch thread.
Artem Semenov has updated the pull request incrementally with one additional commit since the last revision:
It is better to force the "ensureClassInitialized" as any other getters in this class. To make sure the field is up-to-date even if it was initialized on another thread.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11670/files
- new: https://git.openjdk.org/jdk/pull/11670/files/ed0752e8..2841c5e4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11670&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11670&range=05-06
Stats: 16 lines in 1 file changed: 8 ins; 8 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/11670.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11670/head:pull/11670
PR: https://git.openjdk.org/jdk/pull/11670
More information about the client-libs-dev
mailing list