<Swing Dev> [9] Review request for 8032874: ArrayIndexOutOfBoundsException in JTable while clearing data in JTable
dmitry markov
dmitry.markov at oracle.com
Fri Apr 11 12:36:25 UTC 2014
Hello,
Could you review the fix for jdk9, please?
bug: https://bugs.openjdk.java.net/browse/JDK-8032874
webrev: http://cr.openjdk.java.net/~dmarkov/8032874/jdk9/webrev.00/
Problem description: If JTable has Sorter and Filter and selected row is
removed ArrayIndexOutOfBoundsException will be thrown.
Fix: The method restoreSelection() in SortManager class should invoke
convertRowIndexToView() only when modelSelection is NOT empty.
Thanks,
Dmitry
More information about the swing-dev
mailing list