RFR: 8298644 JNI call of getCurrentComponent on a wrong thread [v8]
Artem Semenov
asemenov at openjdk.org
Thu Jan 12 08:22:19 UTC 2023
On Tue, 10 Jan 2023 11:27:50 GMT, Artem Semenov <asemenov at openjdk.org> wrote:
>> [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.
@prrace @azuev-java please review
-------------
PR: https://git.openjdk.org/jdk/pull/11670
More information about the client-libs-dev
mailing list