You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Svetlana Samoilenko (JIRA)" <ji...@apache.org> on 2006/10/10 14:33:20 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_12441133 ] 
            
Svetlana Samoilenko commented on HARMONY-1809:
----------------------------------------------

Actually patch is not correct.
It is not enough to remove this exception from method synopsis because the method calls  
            removeItems(position, rmSize);
            insertItems(position, addItems, addSize)
which throws this exception accordinf=g to the specification.
So, the method must be re-designed.
  

> [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
>
>
> 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