On Thu, 27 Jan 2022 09:31:21 GMT, Prasanta Sadhukhan <[email protected]>
wrote:
>> Harshitha Onkar has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> aligned the jtreg header
>
> test/jdk/javax/swing/JTableHeader/8016524/Bug8016524.java line 106:
>
>> 104: if(lowerLeft.getRGB() == WHITE_RGB || lowerRight.getRGB() ==
>> WHITE_RGB)
>> 105: {
>> 106: throw new RuntimeException("JTableHeader Bottom Border not
>> visible");
>
> Not sure this check is correct. If we have dark theme or the background is
> changed in system, then I guess the test will fail even with fix. Maybe you
> can set the JTable background to white explicitly.
@prsadhuk I have explicitly set the background to white for the table as well
as the header.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7219