RFR: 8298644 JNI call of getCurrentComponent on a wrong thread [v5]
Artem Semenov
asemenov at openjdk.org
Tue Jan 10 08:15:22 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 two additional commits 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.
- Note that this class declares interfaces at the top, and then field/get/set at the bottom of the file.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11670/files
- new: https://git.openjdk.org/jdk/pull/11670/files/bddabea5..6efb419e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11670&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11670&range=03-04
Stats: 26 lines in 1 file changed: 11 ins; 14 del; 1 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