<Swing Dev> [11] RFR JDK-8194767:Regression automated Test 'javax/swing/JEditorPane/6917744/bug6917744.java' fails
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Fri Mar 2 14:09:19 UTC 2018
Hi All,
Please review a test fix for an issue where the test fails citing
"Invalid HTML position" because pressing PAGE_DOWN does not cause the
document to scroll down to end of document.
This is because even though robot send PAGE_DOWN key events but the
focus is not in the editorpane so it does not scroll.
Proposed fix is to make sure the editorPane is in focus and caret is
present in the document so that robot PAGE_DOWN events by robot causes
it to scroll to end of document.
Bug: https://bugs.openjdk.java.net/browse/JDK-8194767
webrev: http://cr.openjdk.java.net/~psadhukhan/8194767/webrev.00/
Regards
Prasanta
More information about the swing-dev
mailing list