Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2612

[classlib][swing] j.s.undo.UndoManager.redoTo doesn't throw ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • Patch Available
    • Moderate

    Description

      javax.swing.undo.UndoManager.redoTo(edit) does not throw ArrayIndexOutOfBoundsException where edit is not found in the list of UndoableEdits, whereas RI throws the exception in this case.

      Attachments

        1. HTest2612.java
          0.9 kB
          Alexey A. Ivanov
        2. Harmony-2612.patch
          1.0 kB
          Vasily Zakharov
        3. Harmony-2612-Test.patch
          2 kB
          Vasily Zakharov
        4. Harmony-2612-Test.patch
          2 kB
          Vasily Zakharov

        Issue Links

          Activity

            People

              zakha Alexei Zakharov
              aaivanov Alexey A. Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: