harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0
Date Wed, 17 Oct 2007 07:40:51 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Hindess closed HARMONY-2771.
---------------------------------


Verified.


> [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns
-1 while RI returns 0
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2771
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2771
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>            Assignee: Mark Hindess
>         Attachments: H2771-BasicSplitPangeUI.patch, H2771-BasicSplitPangeUITest.patch
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message