<Swing Dev> RFR: 8254085: javax/swing/text/Caret/TestCaretPositionJTextPane.java failed with "RuntimeException: Wrong caret position" [v2]

Sergey Bylokhov serb at openjdk.java.net
Mon Oct 19 02:07:12 UTC 2020


On Sat, 17 Oct 2020 11:21:25 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

>> 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.

Marked as reviewed by serb (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/716


More information about the swing-dev mailing list