[jdk11u-dev] RFR: 8339728: [Accessibility, Windows, JAWS] Bug in the getKeyChar method of the AccessBridge class

Antonio Vieiro duke at openjdk.org
Mon Feb 24 10:25:00 UTC 2025


On Mon, 24 Feb 2025 09:51:09 GMT, Antonio Vieiro <duke at openjdk.org> wrote:

> Backport of [JDK-8339728](https://bugs.openjdk.org/browse/JDK-8339728) from 17u that solves some accessibility issues on Windows, for parity with 11.0.27/28-oracle  (and because it's marked as CPU25-critical-SQE-OK too). Low risk.
> 
> The test does fail without this fix (when read-out, the short-cuts are truncated, so for instance the menu short-cut "Ctrl+Shift+Period" was read out as "Control plus Shift plus P", instead of "Control plus Shift plus Period".
> 
> The new accessibility test passes on Windows 10 (tested with [JAWS v. 2025.2412.102 - February 2025](https://support.freedomscientific.com/Downloads/JAWS) ).
> 
> Clean but for an update in copyright header and for a multi-line string (that has been replaced) in `AccessBridge.java`.

test/jdk/javax/accessibility/TestJMenuItemShortcutAccessibility.java line 44:

> 42: public class TestJMenuItemShortcutAccessibility {
> 43:     public static void main(String[] args) throws Exception {
> 44:         String INSTRUCTIONS = ""

This one was a multiline String constant in JDK17 and above.

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

PR Review Comment: https://git.openjdk.org/jdk11u-dev/pull/3001#discussion_r1967358874


More information about the jdk-updates-dev mailing list