<Swing Dev> RFR: 8254085: javax/swing/text/Caret/TestCaretPositionJTextPane.java failed with "RuntimeException: Wrong caret position" [v2]
Alexander Zuev
kizune at openjdk.java.net
Sat Oct 17 11:21:25 UTC 2020
> Please review fix for the test issue. This test fails on machines with low display resolution.
> Limiting of the length of the line to 30 characters prevents it from wrapping the line
> for a second time which fixes the problem. I tested solution on different modes from 1024x768 to 3840x2160.
Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
Updated test so it does not pass without the fix for initial issue.
Checked that it fails without the fix on all resolutions and passes with
fix on all resolutions.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/716/files
- new: https://git.openjdk.java.net/jdk/pull/716/files/be558d28..6936a11d
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=716&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=716&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/716.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/716/head:pull/716
PR: https://git.openjdk.java.net/jdk/pull/716
More information about the swing-dev
mailing list