RFR: 8284619: javax/swing/JTable/8236907/LastVisibleRow.java failed with "Test Case Failed!!, Last Row not Visible!!!" [v2]

Harshitha Onkar honkar at openjdk.java.net
Wed Jun 15 00:39:40 UTC 2022


On Tue, 14 Jun 2022 05:36:36 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Fix history - #7422.
>> The test is automatic and check if the last row is painted (Which was not happening before the fix, the last row appeared only after MouseClick operation) by capturing the last row before and after MouseClick Operation.If the both the captured images are same, then the test passes else it fails.
>> This Fix includes for ubuntu and macos failure, in which only the test case failed due to following reasons.
>> 
>> In ubuntu, the test fails due to unexpected dark line appearing on right side of last row before MouseClick operation.
>> In macos, the test fails since after MouseClick operation of last row, clearSelection didn't show any effect on the selected row.
>> The issue is intermittent and not able to reproduce it frequently. As a defensive fix, the rectangular area which is being captured is reduce for ubuntu failure and Delay is added between ClearSelection of focus and Image Capture for macos failure
>
> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updated based on review comments

Marked as reviewed by honkar (Author).

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

PR: https://git.openjdk.org/jdk/pull/9117



More information about the client-libs-dev mailing list