Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8282402

Create a regression test for JDK-4666101

    XMLWordPrintable

Details

    • b13
    • generic
    • generic

    Backports

      Description

        Create a regression test for JDK-4666101 : 1.4.0 REGRESSION: JEditorPane: down arrow occasionally nonfunctional.

        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

        Attachments

          Issue Links

            Activity

              People

                mvs Manukumar V S
                mvs Manukumar V S
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: