Integrated: 8282402: Create a regression test for JDK-4666101

Manukumar V S mvs at openjdk.java.net
Thu Mar 3 19:33:07 UTC 2022


On Fri, 25 Feb 2022 15:37:10 GMT, Manukumar V S <mvs at openjdk.org> wrote:

> Create a regression test for [JDK-4666101](https://bugs.openjdk.java.net/browse/JDK-4666101).
> 
> DESCRIPTION OF THE ACTUAL PROBLEM :
> In a JEditorPane, the down arrow has no effect after you add text on a line preceding a blank line.
> 
> Testing:
> As the original issue was reported in JDK 1.4.0 and it was fixed in JDK 1.4.2, I have verified the working of this test in those Java versions and the results are as follows:
> 
> Java 1.4.0 -> Test Failed.
> $ ./j2sdk1.4.0/bin/java JEditorBugWin
> Caret Updated : 3
> Test Failed, Down Arrow Key Not Functional, expected caret position is 5, but actual is 4
> 
> 
> Java 1.4.2 -> Test Passed.
> $ ./j2sdk1.4.2/bin/java JEditorBugWin
> Caret Updated : 5
> Test Passed, Down Arrow Key Functional

This pull request has now been integrated.

Changeset: 1581e3fa
Author:    Manukumar V S <mvs at openjdk.org>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1581e3faa06358f192799b3a89718028c7f6a24b
Stats:     197 lines in 1 file changed: 197 ins; 0 del; 0 mod

8282402: Create a regression test for JDK-4666101

Reviewed-by: aivanov

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

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



More information about the client-libs-dev mailing list