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-2198) [classlib][swing] compatibility: j.s.text.GapContent.replace is not compatible with RI
Date Wed, 15 Nov 2006 13:01:38 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2198?page=all ]

Alexey A. Ivanov updated HARMONY-2198:
--------------------------------------

    Attachment: H2198-GapContent.patch

Several test cases of the updated tests fail:

testInsertStringEmpty(javax.swing.text.GapContent_GapVectorTest)
junit.framework.AssertionFailedError: expected:<10> but was:<0>
	at javax.swing.text.GapContent_GapVectorTest.testInsertStringEmpty(GapContent_GapVectorTest.java:14)

testRemoveEmpty(javax.swing.text.GapContent_GapVectorTest)
junit.framework.AssertionFailedError: expected:<10> but was:<1>
	at javax.swing.text.GapContent_GapVectorTest.testRemoveEmpty(GapContent_GapVectorTest.java:151)

testReplaceNullInsert(javax.swing.text.GapContent_GapVectorTest)
java.lang.NullPointerException
	at java.lang.System.arraycopy(System.java:221)
	at javax.swing.text.GapContent.insertItems(GapContent.java:375)
	at javax.swing.text.GapContent.replace(GapContent.java:252)
	at javax.swing.text.GapContent_GapVectorTest.testReplaceNullInsert(GapContent_GapVectorTest.java:29)


This small patch fixes these failures.

> [classlib][swing] compatibility: j.s.text.GapContent.replace is not compatible with RI
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2198
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2198
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci, Classlib, Non-bug differences from RI
>            Reporter: Alexey A. Ivanov
>         Attachments: H2189-GapContent_GapVectorTest.patch, H2198-GapContent.patch
>
>
> Harmony implementation of javax.swing.text.GapContent.replace() is not compatible with
RI.

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

        

Mime
View raw message