JDK-8161483 : Implement AccessibleAction interface in JList.AccessibleJList.AccessibleJListChild
  • Type: Enhancement
  • Component: client-libs
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-07-15
  • Updated: 2017-07-19
  • Resolved: 2016-08-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b133Fixed
Related Reports
Relates :  
Description
In order to fix JDK-8145207 the AccessibleAction interface was needed for JList.AccessibleJList.AccessibleJListChild but a backport of this fix has been requested and the released public API can not be changed in 8u or earlier.  The workaround is to create and use a private subclass of JList.AccessibleJList.AccessibleJListChild, JList.AccessibleJList.ActionableAccessibleJListChild.  In a new release this should be removed and the AccessibleAction implementation moved to JList.AccessibleJList.AccessibleJListChild.
Comments
Review: http://mail.openjdk.java.net/pipermail/swing-dev/2016-July/006321.html
11-08-2016

Webrev: http://cr.openjdk.java.net/~ptbrunet/JDK-8161483/webrev.06
11-08-2016

FC Extension Request. The JList.AccessibleJList.ActionableAccessibleJListChild subclass of JList.AccessibleJList.AccessibleJListChild added by JDK-8145207 should be removed and the implementation of the AccessibleAction interface instead added to JList.AccessibleJList.AccessibleJListChild. Note that the addition of the implementation of the AccessibleAction interface will result in a (small) change to the public API of JList.AccessibleJList.AccessibleJListChild. The risk of this fix is low. The justification for this change: If a user overrides the JList.AccessibleJList.AccessibleJListChild class and returns from its code it will not inherit the AccessibleAction behavior. This feature will be complete prior to August 1.
15-07-2016

From Alexandr: I think it is better to implement this small enhancement in JDK 9. The fix JDK-8145207 just returns a subclass of the JList.AccessibleJList.AccessibleJListChild. If a user overrides the class and returns from its code it will not inherit the AccessibleAction behavior.
15-07-2016