RFR: 8322140: javax/swing/JTable/JTableScrollPrintTest.java does not print the rows and columns of the table in NimbusLookAndFeel [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Apr 8 09:45:10 UTC 2024


On Thu, 4 Apr 2024 10:35:22 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Fix suggested in bug [8210807](https://github.com/openjdk/jdk/commit/38bbbe7588c94d3a0edd1c120ba49cbd0851a720) had a regression in Nimbus L&F yet it resolved the issue in other L&F. The better approach would be to handle `MultiResolutionImages `in `PathGraphics` class `getBufferedImage` method and is suggested here. The fix doesn't cause any regression and is verified in CI system. The test javax/swing/JTable/JTableScrollPrintTest.java is verified for all platforms and all L&F (Except in Windows it doesn't work due an issue ([JDK-8322135](https://bugs.openjdk.org/browse/JDK-8322135)) introduced in 22, yet to investigate on it). And also fix [8210807](https://github.com/openjdk/jdk/commit/38bbbe7588c94d3a0edd1c120ba49cbd0851a720) has been reverted, retaining the test.
>
> Tejesh R has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Spacing updates
>  - Updated test with BugID and copyright year

test/jdk/javax/swing/JTable/JTableScrollPrintTest.java line 2:

> 1: /*
> 2:  * Copyright (c) 2023, 2014, Oracle and/or its affiliates. All rights reserved.

should be 2024

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18187#discussion_r1555532274


More information about the client-libs-dev mailing list