This fixes a bug in CommonComponentAccessibility.m: we were passing an 
AccessibleContext, when we should have been passing in an AccessibleAction.

This happened to work because many AccessibleContexts also implement 
AccessibleAction, but if the AccessibleAction was a separate object then this 
triggered a IncompatibleClassChangeError

-------------

Commit messages:
 - 8380849: pass AccessibleAction to doAccessibleAction

Changes: https://git.openjdk.org/jdk/pull/30418/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30418&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8380849
  Stats: 153 lines in 2 files changed: 148 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/30418.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30418/head:pull/30418

PR: https://git.openjdk.org/jdk/pull/30418

Reply via email to