+1 to Stepan's question
On 6/19/07, Stepan Mishura <[EMAIL PROTECTED]> wrote:
Hi Tony,Kelvin,
I'm confused with the issue resolution. The ASN.1 encoders/decoders
from 'security' module used by other modules (auth, crypto). But I can
not understand why 'jndi' module need the separate/own set of
encoders/decoders copied from 'security' module (r548598). What's
wrong with importing it from 'security' module? Could you comment?
Thanks,
Stepan.
-----Original Message-----
From: Tony Wu (JIRA) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 19, 2007 12:10 PM
To: [EMAIL PROTECTED]
Subject: [jira] Commented: (HARMONY-4226) [classlib][jndi] Class
SortResponseControl has some failures
[
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
Thanks,
Stepan Mishura
Intel Enterprise Solutions Software Division
--
With best regards,
Alexei,
ESSD, Intel