The fix looks good to me.

Thanks,
Alexandr.

On 7/11/2016 12:28 PM, Semyon Sadetsky wrote:
Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8159587

webrev: http://cr.openjdk.java.net/~ssadetsky/8159587/webrev.00/

Exception is caused by row index value =0 which is not in a valid range because table model contains no rows at the moment. The issue is in FilePane's clear selection method. The correct way to clear a selection model is to set the anchor/lead index to -1 not to 0.

--Semyon


Reply via email to