<Swing Dev> RFR: 8160720: [TEST_BUG] javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed Feb 10 10:37:48 UTC 2021
Test hardcodes bufferedimage and frame bounds so it does not capture correct size if scaling factor is used.
The solution is to always use the same uiscale=1, an updated test still can reproduce the JDK-8015085 issue without fix. Additionally, moved the frame to centre of screen for better mach5 stability.
Mach5 job running for several iterations on all platforms is ok. Link in JBS.
-------------
Commit messages:
- 8160720: [TEST_BUG] javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
Changes: https://git.openjdk.java.net/jdk/pull/2502/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2502&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8160720
Stats: 6 lines in 2 files changed: 4 ins; 1 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/2502.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2502/head:pull/2502
PR: https://git.openjdk.java.net/jdk/pull/2502
More information about the swing-dev
mailing list