harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Kishenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0
Date Mon, 18 Dec 2006 12:12:21 GMT
[classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1
while RI returns 0
-------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2771
                 URL: http://issues.apache.org/jira/browse/HARMONY-2771
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Denis Kishenko


Compatibility issue. There is no mention of getLastDragLocation() initial value
in the specification. RI returns 0 while Harmony returns -1.

import junit.framework.TestCase;
import javax.swing.plaf.basic.*;

public class test extends TestCase {   

        public void testcase1() { 
           BasicSplitPaneUI pui = new BasicSplitPaneUI();                      
           System.out.println("getLastDragLocation()=="+pui.getLastDragLocation());      
 
        }

}

Output on Sun 1.5:
=================
.getLastDragLocation()==0

Time: 0

OK (1 test)


Output on Harmony:
==================
.getLastDragLocation()==-1

Time: 0.015

OK (1 test)


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