You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Kelvin Ye (JIRA)" <ji...@apache.org> on 2007/06/19 05:39:26 UTC

[jira] Created: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

[classlib][jndi] Class SortResponseControl has some failures
------------------------------------------------------------

                 Key: HARMONY-4226
                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: linux and windows
            Reporter: Kelvin Ye


Class SortResponseControl will fail in the following test cases, but RI will pass.

        String Id="test";
        boolean crit=false;
        byte[] ber1={48,1,10,1,0};
        byte[] ber2={48,5,10,1,3};
        byte[] ber3={48,3,10,2,3,3};
        byte[] ber4={48,4,10,1,3,3,3};
        byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
        SortResponseControl src=null;
        src = new SortResponseControl(Id, crit, ber1);
        assertEquals(Id, src.getID());
        assertEquals(src.getResultCode(), 0);
        src = new SortResponseControl(Id, crit, ber2);
        assertEquals(src.getResultCode(), 3);
        src = new SortResponseControl(Id, crit, ber3);
        assertEquals(src.getResultCode(), 771);
        src = new SortResponseControl(Id, crit, ber4);
        assertEquals(src.getResultCode(), 3);
        src = new SortResponseControl(Id, crit, ber5);
        assertEquals(src.getResultCode(), 3);
        assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu closed HARMONY-4226.
----------------------------

    Resolution: Won't Fix

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.diff, harmony-4226.sh
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Kelvin Ye closed HARMONY-4226.
------------------------------


Verified. It's OK. Thanks very much!

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu updated HARMONY-4226:
-----------------------------

    Component/s:     (was: Classlib)
                 Non-bug differences from RI

edit the Component/

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.diff, harmony-4226.sh
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu resolved HARMONY-4226.
------------------------------

    Resolution: Fixed

Patch applied at r548598 , please verify. Thanks.

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu closed HARMONY-4226.
----------------------------

    Resolution: Fixed

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.diff, harmony-4226.sh
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

Posted by "Kelvin Ye (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506057 ] 

Kelvin Ye commented on HARMONY-4226:
------------------------------------

Hi Tony, I have updated the patch. Please try the new patch. Thanks!

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Kelvin Ye updated HARMONY-4226:
-------------------------------

    Attachment: harmony-4226.zip

Would you please try the patch? Thanks very much!

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Kelvin Ye updated HARMONY-4226:
-------------------------------

    Attachment: harmony-4226.sh
                harmony-4226.diff

Since the requirement of ASN1 decoder for JNDI is different from security (we can see the different behavior of the test cases above with RI), I try to write a class JndiBerInputStream which is inherited from BerInputStream.

Please see the patch harmony-4226.diff. If you have any other suggestion, please let me know. Thanks very much!

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.diff, harmony-4226.sh
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu reopened HARMONY-4226:
------------------------------


> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.diff, harmony-4226.sh
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu reassigned HARMONY-4226:
--------------------------------

    Assignee: Tony Wu

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Kelvin Ye updated HARMONY-4226:
-------------------------------

    Attachment:     (was: harmony-4226.zip)

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Kelvin Ye updated HARMONY-4226:
-------------------------------

    Attachment:     (was: harmony-4226.zip)

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu reopened HARMONY-4226:
------------------------------


waiting for discussion on mailing list http://www.mail-archive.com/dev@harmony.apache.org/msg08299.html

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506046 ] 

Tony Wu commented on HARMONY-4226:
----------------------------------

Hi Kelvin,
This patch brings extra dependency from security to jndi. I suggest that we use the Messages.java in jndi rather than that in security.

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Kelvin Ye updated HARMONY-4226:
-------------------------------

    Attachment: harmony-4226.zip

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu reopened HARMONY-4226:
------------------------------


> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.diff, harmony-4226.sh
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Tony Wu closed HARMONY-4226.
----------------------------

    Resolution: Won't Fix

close as non-bug difference according to dicussion on mailing. We will not fix it unless it breaks a compelling application. Thanks.

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.diff, harmony-4226.sh
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Kelvin Ye updated HARMONY-4226:
-------------------------------

    Attachment:     (was: harmony-4226.zip)

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-4226) [classlib][jndi] Class SortResponseControl has some failures

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

Kelvin Ye updated HARMONY-4226:
-------------------------------

    Attachment: harmony-4226.zip

> [classlib][jndi] Class SortResponseControl has some failures
> ------------------------------------------------------------
>
>                 Key: HARMONY-4226
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4226
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4226.zip
>
>
> Class SortResponseControl will fail in the following test cases, but RI will pass.
>         String Id="test";
>         boolean crit=false;
>         byte[] ber1={48,1,10,1,0};
>         byte[] ber2={48,5,10,1,3};
>         byte[] ber3={48,3,10,2,3,3};
>         byte[] ber4={48,4,10,1,3,3,3};
>         byte[] ber5={48,8,10,1,3,(byte)128,3,'T','e','s','t'};
>         SortResponseControl src=null;
>         src = new SortResponseControl(Id, crit, ber1);
>         assertEquals(Id, src.getID());
>         assertEquals(src.getResultCode(), 0);
>         src = new SortResponseControl(Id, crit, ber2);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber3);
>         assertEquals(src.getResultCode(), 771);
>         src = new SortResponseControl(Id, crit, ber4);
>         assertEquals(src.getResultCode(), 3);
>         src = new SortResponseControl(Id, crit, ber5);
>         assertEquals(src.getResultCode(), 3);
>         assertEquals("Tes", src.getAttributeID());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.