You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/11/01 15:50:57 UTC

[jira] Commented: (HARMONY-1809) [classlib][swing]javax.swing.text.GapContent.replace(int, int, java.lang.Object, int) throws unspescified BadLocationException

    [ http://issues.apache.org/jira/browse/HARMONY-1809?page=comments#action_12446259 ] 
            
Alexey A. Ivanov commented on HARMONY-1809:
-------------------------------------------

Another observation: Harmony implements replace as two distinct operations (remove and then insert) whereas RI implements insertString and (I believe) remove using replace (see the stack trace of RI).

> [classlib][swing]javax.swing.text.GapContent.replace(int, int, java.lang.Object, int) throws unspescified BadLocationException
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1809
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1809
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Svetlana Samoilenko
>            Priority: Trivial
>         Attachments: GapContent.patch, HTest1809.java
>
>
> RI does not throw javax.swing.text.BadLocationException for GapContent.replace(int, int, java.lang.Object, int) while Harmony does.

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