[jdk8u-dev] Integrated: 8154043: Fields not reachable anymore by tab-key, because of new tabbing behaviour of radio button groups.

Kazuhisa Takakuri ktakakuri at openjdk.org
Mon Sep 8 07:30:23 UTC 2025


On Wed, 15 Mar 2023 05:47:54 GMT, Kazuhisa Takakuri <ktakakuri at openjdk.org> wrote:

> This is a backport of JDK-8154043: Fields not reachable anymore by tab-key, because of new tabbing behaviour of radio button groups.
> 
> Applying the JDK-8154043 fix as is will result in a regression of JDK-8182577.
> The fix of JDK-8182577 adds an interface for JDK10, therefore this fix cannot be backported simply for JDK8u.
> So, I propose to judge the buttonModel is an instance of DefaultButtonModel.
> 
> Testing:
> java/awt
> javax/swing
> ButtonGroupLayoutTraversalTest.java
> bug8033699.java
> DefaultButtonModelCrashTest.java
> on Windows x86_64

This pull request has now been integrated.

Changeset: 86ecd5bb
Author:    Kazuhisa Takakuri <ktakakuri at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/86ecd5bb248026cc056f21c7368e5b322a244d44
Stats:     304 lines in 5 files changed: 270 ins; 15 del; 19 mod

8154043: Fields not reachable anymore by tab-key, because of new tabbing behaviour of radio button groups.
8182577: Exception when Tab key moves focus to a JCheckbox with a custom ButtonModel

Reviewed-by: phh, andrew
Backport-of: 8d81ec63b2bafc431cbb8572a3e45e76580ab46f

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

PR: https://git.openjdk.org/jdk8u-dev/pull/285


More information about the jdk8u-dev mailing list