RFR: 8322140: javax/swing/JTable/JTableScrollPrintTest.java does not print the rows and columns of the table in NimbusLookAndFeel
Tejesh R
tr at openjdk.org
Tue Mar 19 04:15:21 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 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.
-------------
Commit messages:
- Fix + Revert 8210807
Changes: https://git.openjdk.org/jdk/pull/18187/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18187&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8322140
Stats: 25 lines in 3 files changed: 15 ins; 4 del; 6 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