harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2612) [classlib][swing] j.s.undo.UndoManager.redoTo doesn't throw ArrayIndexOutOfBoundsException
Date Wed, 17 Jan 2007 07:11:27 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465371

Alexey A. Ivanov commented on HARMONY-2612:

Does it make sense to separate tests for undoTo() and redoTo() methods?
I guess you can safely use AbstractUndoableEdit instead of StateEdit. With this approach you
won't need additional classes.

> [classlib][swing] j.s.undo.UndoManager.redoTo doesn't throw ArrayIndexOutOfBoundsException
> ------------------------------------------------------------------------------------------
>                 Key: HARMONY-2612
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2612
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: Harmony-2612-Test.patch, Harmony-2612.patch, HTest2612.java
> 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message