harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivanov, Alexey A" <alexey.a.iva...@intel.com>
Subject RE: [jira] Created: (HARMONY-1138) [classlib][swing/text] The result of AbstractUndoableEdit.get{Undo, Redo}Presentation name differs from the RI one where getPresentationName() returns null
Date Thu, 10 Aug 2006 11:13:19 GMT
Hi everyone,

I've fixed several failing tests in
jx.s.t.AbstractDocument_DefaultDocumentEventTest [1] and introduced a
small incompatibility with the RI. See details below.

I believe we can not follow the RI in this case.
Other opinions?


Regards,
--
Alexey A. Ivanov
Intel Middleware Product Division


[1] https://issues.apache.org/jira/browse/HARMONY-1137


>-----Original Message-----
>From: Alexey A. Ivanov (JIRA) [mailto:jira@apache.org]
>Sent: Thursday, August 10, 2006 3:05 PM
>To: Ivanov, Alexey A
>Subject: [jira] Created: (HARMONY-1138) [classlib][swing/text] The
result
>of AbstractUndoableEdit.get{Undo, Redo}Presentation name differs from
the
>RI one where getPresentationName() returns null
>
>[classlib][swing/text] The result of AbstractUndoableEdit.get{Undo,
>Redo}Presentation name differs from the RI one where
getPresentationName()
>returns null
>-----------------------------------------------------------------------
----
>-----------------------------------------------------------------------
----
>-----
>
>                 Key: HARMONY-1138
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1138
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>
>
>Consider the following test:
>import javax.swing.undo.AbstractUndoableEdit;
>
>public class NullPresentationName {
>    public static void main(String[] args) {
>        AbstractUndoableEdit aue = new AbstractUndoableEdit() {
>            public String getPresentationName() {
>                return null;
>            }
>        };
>        System.out.println("'" + aue.getUndoPresentationName() + "'");
>        System.out.println("'" + aue.getRedoPresentationName() + "'");
>    }
>}
>
>
>The ouput of the RI:
>'Undo null'
>'Redo null'
>
>
>The output of Harmony (after applying the patch for HARMONY-1137):
>'Undo'
>'Redo'
>
>Before applying the patch for HARMONY-1137, NPE is thrown when this
test is
>run on Harmony.
>
>--
>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
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message