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

Tejesh R tr at openjdk.org
Thu Apr 4 10:35:22 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18187/files
  - new: https://git.openjdk.org/jdk/pull/18187/files/38bbbe75..41fcb586

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18187&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18187&range=00-01

  Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/18187.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18187/head:pull/18187

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


More information about the client-libs-dev mailing list