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.

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

Commit messages:
 - 8254085: javax/swing/text/Caret/TestCaretPositionJTextPane.java failed with 
"RuntimeException: Wrong caret position"

Changes: https://git.openjdk.java.net/jdk/pull/716/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=716&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254085
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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

Reply via email to