RFR: 8277497 Last column cell in the JTAble row is read as empty cell

Anton Tarasov ant at openjdk.java.net
Wed Nov 24 16:04:10 UTC 2021


On Wed, 24 Nov 2021 15:16:54 GMT, Artem Semenov <asemenov at openjdk.org> wrote:

> Testing https://bugs.openjdk.java.net/browse/JDK-8271071 
> Step to reproduce 
> 1) Run SwingSet2 in JDK 18 ( I used b24 ) 
> 2) Enable Voiceover. 
> 3) Select JTable demo 
> 4) Click any row in the table or select the first row . Observe that row is selected & VoiceOver reads the column values or navigate the columns one by one by pressing tab key. When the focus reaches the last column ( Favourite Food ) Observe that column value is read as null. If you hear the same then the bug is reproduced.

src/java.desktop/share/classes/javax/swing/JLabel.java line 1083:

> 1081:                 name = super.getAccessibleName();
> 1082:             }
> 1083: 

Please remove the extra line.

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

PR: https://git.openjdk.java.net/jdk/pull/6538



More information about the client-libs-dev mailing list