Re: [classlib][security] Exception compatibility

2006-09-05 Thread Denis Kishenko
Boris thank you for your question. I asked myself the same question and choose the same answer as you. Unfortunately as people wrote above we were wrong and they are reasonable. I have already written patch for HARMONY-1120 to follow RI behavior. 2006/9/5, Stepan Mishura [EMAIL PROTECTED]: On

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Mikhail Loenko
IMHO we should look from the perspective of migrating the apps. So let's try to make behavior of Harmony + BC provider close to Sun + Sun's provider If without the checks the combination Harmony+BC works similar to Sun+Sun's provider, then let's remove the checks. Otherwise let's keep it to

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Denis Kishenko
By the way, people what do you think about HARMONY-1110? Problem is we have to reproduce behavior of pattern parser without specification. There is only one example in Java doc which doesn't allow understand when pattern is incorrect. 2006/9/5, Denis Kishenko [EMAIL PROTECTED]: Boris thank you

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Mikhail Loenko
let's talk about it on a different thread 2006/9/5, Denis Kishenko [EMAIL PROTECTED]: By the way, people what do you think about HARMONY-1110? Problem is we have to reproduce behavior of pattern parser without specification. There is only one example in Java doc which doesn't allow understand

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Boris Kuznetsov
BC provider throws the same exceptions as SUN provider (at least for standard digest alg. names: SHA, MD2, MD5, SHA-256, SHA-384, SHA-512). But what about other third party providers? On 9/5/06, Mikhail Loenko [EMAIL PROTECTED] wrote: IMHO we should look from the perspective of migrating the

Re: [classlib][security] Exception compatibility

2006-09-04 Thread Andrew Zhang
On 9/4/06, Boris Kuznetsov [EMAIL PROTECTED] wrote: Usually Harmony behavior is compared with RI behavior. But in security area RI behavior depends on provider. With different providers RI behave differently. For example, RI passes incorrect method arguments to provider. In such cases provider

Re: [classlib][security] Exception compatibility

2006-09-04 Thread Richard Liang
On 9/4/06, Boris Kuznetsov [EMAIL PROTECTED] wrote: Usually Harmony behavior is compared with RI behavior. But in security area RI behavior depends on provider. With different providers RI behave differently. For example, RI passes incorrect method arguments to provider. In such cases provider

Re: [classlib][security] Exception compatibility

2006-09-04 Thread Stepan Mishura
On 9/4/06, Boris Kuznetsov wrote: Usually Harmony behavior is compared with RI behavior. But in security area RI behavior depends on provider. With different providers RI behave differently. For example, RI passes incorrect method arguments to provider. In such cases provider may throw