You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Denis Kishenko (JIRA)" <ji...@apache.org> on 2006/12/18 13:12:21 UTC

[jira] Created: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0

[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

        

[jira] Resolved: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess resolved HARMONY-2771.
-----------------------------------

    Resolution: Fixed
      Assignee: Mark Hindess

Applied patches in r496163.  Please confirm they have been applied as expected.

> [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
>         Assigned To: 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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0

Posted by "Denis Kishenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2771?page=all ]

Denis Kishenko updated HARMONY-2771:
------------------------------------

    Patch Info: [Patch Available]

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

        

[jira] Commented: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2771?page=comments#action_12460999 ] 
            
Alexey A. Ivanov commented on HARMONY-2771:
-------------------------------------------

Note that the test is in exclude list at the moment.

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

        

[jira] Commented: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489391 ] 

Alexey A. Ivanov commented on HARMONY-2771:
-------------------------------------------

That's OK.
Thank you Mark!

> [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
>         Assigned To: 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.


[jira] Updated: (HARMONY-2771) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() returns -1 while RI returns 0

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2771?page=all ]

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

    Attachment: H2771-BasicSplitPangeUITest.patch
                H2771-BasicSplitPangeUI.patch

Regression test and the fix.

Also added @Override annotation where necessary.

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