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] Updated: (HARMONY-1809) [classlib][swing]javax.swing.text.GapContent.replace(int, int, java.lang.Object, int) throws unspescified BadLocationException
Date Tue, 07 Nov 2006 10:50:52 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1809?page=all ]

Alexey A. Ivanov updated HARMONY-1809:

    Attachment: H1809-GapContent.patch

Fixes the problem stated by silently ignoring BadLocationException which may be thrown from
insertItems, removeItems methods that implement replace in Harmony.
Two votes were for this solution on the dev-list; there were no other votes.

The patch also adds final modifier to three methods: getArray(), getGapEnd(), getGapStart().
These are final according to spec. but they were not in Harmony.
Also warnings were cleaned up: @Override annotations added, @SuppressWarnings("serial"), and
some cosmetic code changes.

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


View raw message