harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-2457) [classlib][accessibility] javax.accessibility.AccessibleRelationSet.relations field is different on Harmony and RI
Date Tue, 27 Nov 2007 14:40:43 GMT

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

Tim Ellison resolved HARMONY-2457.
----------------------------------

    Resolution: Fixed

Thanks Anton.

Fix applied to ACCESSIBILITY module at repo revision r598652.

Please check it is fixed as you expected.


> [classlib][accessibility] javax.accessibility.AccessibleRelationSet.relations field is
different on Harmony and RI
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2457
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2457
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Anton Ivanov
>            Assignee: Tim Ellison
>            Priority: Minor
>
> When javax.accessibility.AccessibleRelationSet object is created via
> AccessibleRelationSet() constructor protected field == empty Vector array 
> while relations == null on RI.
> The same problem arises for AccessibleStateSet.states field.
> Test to reproduce the problem:
> import junit.framework.TestCase;
> import javax.accessibility.*;
> import java.util.*;
> public class ConstructorsTest extends TestCase {     
>     static class testAccessibleRelationSet extends AccessibleRelationSet   {
>         
>         Vector relations;    
>         
>         testAccessibleRelationSet()  {
>             super();
>             relations= super.relations; 
>         }           
>     }
>     static class testAccessibleStateSet extends AccessibleStateSet  {
>      
>         Vector states;    
>     
>         testAccessibleStateSet()  {
>             super();
>             states= super.states; 
>         } 
>     }
>        
>     public void test1 () {    
>         testAccessibleRelationSet obj= new testAccessibleRelationSet();
>         assertNull(obj.relations);
>     }
>        
>     public void test2 () {  
>         testAccessibleStateSet obj= new testAccessibleStateSet();          
>         assertNull(obj.states);
>     }
> } 

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