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:[EMAIL PROTECTED] >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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]