Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-15 Thread Ilya Okomin
On 9/15/06, Andrew Zhang <[EMAIL PROTECTED]> wrote: On 9/14/06, Mikhail Loenko <[EMAIL PROTECTED]> wrote: > > Ok, the second reason is convincing I also gave up to follow RI because of it! If anyone could fix this bug elegantly or not too ugly, I have no objection. :-) Otherwise, I don't thin

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-15 Thread Andrew Zhang
On 9/14/06, Mikhail Loenko <[EMAIL PROTECTED]> wrote: Ok, the second reason is convincing I also gave up to follow RI because of it! If anyone could fix this bug elegantly or not too ugly, I have no objection. :-) Otherwise, I don't think following RI makes sense. Thanks! Thanks, Mikhail

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Alexey Petrenko
I have not said that it validaites. I said that it can :) 2006/9/14, Stepan Mishura <[EMAIL PROTECTED]>: On 9/14/06, Alexey Petrenko wrote: > > 2006/9/14, Stepan Mishura : > > On 9/14/06, Alexey Petrenko wrote: > > > > > > 2006/9/14, Stepan Mishura : > > > > On 9/14/06, Andrew Zhang wrote: > > >

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Stepan Mishura
On 9/14/06, Alexey Petrenko wrote: 2006/9/14, Stepan Mishura : > On 9/14/06, Alexey Petrenko wrote: > > > > 2006/9/14, Stepan Mishura : > > > On 9/14/06, Andrew Zhang wrote: > > > > > > > > There are two reasons: > > > > > > > > 1. Spec has explicitly pointed out "No validation of the inputs is

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Alexey Petrenko
2006/9/14, Stepan Mishura <[EMAIL PROTECTED]>: On 9/14/06, Alexey Petrenko wrote: > > 2006/9/14, Stepan Mishura : > > On 9/14/06, Andrew Zhang wrote: > > > > > > There are two reasons: > > > > > > 1. Spec has explicitly pointed out "No validation of the inputs is > > > performed > > > by this con

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Mikhail Loenko
Ok, the second reason is convincing Thanks, Mikhail 2006/9/14, Andrew Zhang <[EMAIL PROTECTED]>: There are two reasons: 1. Spec has explicitly pointed out "No validation of the inputs is performed by this constructor." 2. The exception thrown sequence is really hard to follow, as described by

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Stepan Mishura
On 9/14/06, Alexey Petrenko wrote: 2006/9/14, Stepan Mishura : > On 9/14/06, Andrew Zhang wrote: > > > > There are two reasons: > > > > 1. Spec has explicitly pointed out "No validation of the inputs is > > performed > > by this constructor." > > > > In this spec. quotation above there is one th

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Alexey Petrenko
2006/9/14, Stepan Mishura <[EMAIL PROTECTED]>: On 9/14/06, Andrew Zhang wrote: > > There are two reasons: > > 1. Spec has explicitly pointed out "No validation of the inputs is > performed > by this constructor." In this spec. quotation above there is one thing that confuses me - "THIS CONSTRU

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Stepan Mishura
On 9/14/06, Andrew Zhang wrote: There are two reasons: 1. Spec has explicitly pointed out "No validation of the inputs is performed by this constructor." In this spec. quotation above there is one thing that confuses me - "THIS CONSTRUCTOR". May this mean that validation of inputs is perfor

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Andrew Zhang
There are two reasons: 1. Spec has explicitly pointed out "No validation of the inputs is performed by this constructor." 2. The exception thrown sequence is really hard to follow, as described by Ilya, see examples below: 1. new URL("ss", "0", -3, null); java.net.MalformedURLException: Invalid

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-14 Thread Mikhail Loenko
It's not clear why it should be non-bug diff? Shouldn't it be fixed to follow RI? Thanks, Mikhail 2006/9/14, Andrew Zhang <[EMAIL PROTECTED]>: Would any commiter like to confirm and close this "non-bug differences from RI" jira? Thanks! On 9/13/06, Andrew Zhang <[EMAIL PROTECTED]> wrote: > >

Re: [classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss",

2006-09-13 Thread Andrew Zhang
Would any commiter like to confirm and close this "non-bug differences from RI" jira? Thanks! On 9/13/06, Andrew Zhang <[EMAIL PROTECTED]> wrote: From: Andrew Zhang (JIRA) <[EMAIL PROTECTED]> Date: Sep 13, 2006 11:02 AM Subject: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: ja

[classlib][luni] java.net.URL(String, String, int, String) constructor exception thrown sequence (was re: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss", nul

2006-09-12 Thread Andrew Zhang
From: Andrew Zhang (JIRA) <[EMAIL PROTECTED]> Date: Sep 13, 2006 11:02 AM Subject: [jira] Commented: (HARMONY-1158) [classlib][luni]Compatibility: java.net.URL new URL("ss", null, -3, null) throws MalformedURLException while RI throws NPE To: [EMAIL PROTECTED] [ http://issues.apache.org/jira/br