Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Chris Gray
On Tuesday 18 April 2006 01:34, Geir Magnusson Jr wrote: Really? Every other JRE uses the classlibrary from sun. Of the many open-source runtimes, none uses Sun's class library; almost all use Classpath. Among non-open source products, J9 has its own libraries, and I believe this is also

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Chris Gray
On Tuesday 18 April 2006 04:20, Geir Magnusson Jr wrote: Good question though - what does GNU Classpath do? What GNU Classpath does is the same as what the Sun class libraries do, so the former no more needs the latter than Apache needs IIS ... (Sorry to be playing the pedant but I do

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Mark Hindess
Are you saying that Classpath does match strings in exceptions? -Mark. On 4/18/06, Chris Gray [EMAIL PROTECTED] wrote: On Tuesday 18 April 2006 04:20, Geir Magnusson Jr wrote: Good question though - what does GNU Classpath do? What GNU Classpath does is the same as what the Sun class

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Chris Gray
On Tuesday 18 April 2006 09:37, Mark Hindess wrote: Are you saying that Classpath does match strings in exceptions? No. Ah, I see: the do in Geir's question stood for what is Classpath's policy wrt to exception messages matching those of the RI?. Then I don't speak authoritatively, but I've

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Mark Hindess
I thought my first message in this thread made this clear but obviously not. I'm not suggesting that code would care if the exception messages are identical. I was suggesting that it is probably now quite common for users to type error messages straight in to google. Therefore having messages

Re: ?Pascua s en el siglo XXI?

2006-04-18 Thread Leo Simons
On Mon, Apr 17, 2006 at 07:37:47PM -0400, Geir Magnusson Jr wrote: Fernando Cassia wrote: What the Is there a way to moderate harmont-dev so messages like this can never make it to the list?. They only way that would get to the list is if the sender was subscribed. We don't let

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Anton Avtamonov
On 4/18/06, Mark Hindess [EMAIL PROTECTED] wrote: I thought my first message in this thread made this clear but obviously not. I'm not suggesting that code would care if the exception messages are identical. I was suggesting that it is probably now quite common for users to type error

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Jimmy, Jing Lv
Anton Avtamonov wrote: On 4/18/06, Mark Hindess [EMAIL PROTECTED] wrote: I thought my first message in this thread made this clear but obviously not. I'm not suggesting that code would care if the exception messages are identical. I was suggesting that it is probably now quite common for

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Mark Hindess
Stepan, Just curious what you are fixing here? Changing 8 spaces to tabs? Why does this matter? Shouldn't tabs (at the beginning of a line) always be equivalent to 8 spaces? Incidentally, I think 8 character indentations are excessive. Quite a few of the ant files use 4 character indentations

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Stepan Mishura
On 4/18/06, Mark Hindess wrote: Stepan, Just curious what you are fixing here? Changing 8 spaces to tabs? Why does this matter? Shouldn't tabs (at the beginning of a line) always be equivalent to 8 spaces? Mark, I'd prefer to have all build files follow one style - I don't like mixing

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Mark Hindess
For many people however tabs are equivalent to 8 spaces so if what we really intend is 4 spaces then perhaps we should make them spaces not tabs? Otherwise we will be forever fixing identations because of editor differences. -Mark. On 4/18/06, Stepan Mishura [EMAIL PROTECTED] wrote: On

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Paulex Yang
Mark Hindess wrote: For many people however tabs are equivalent to 8 spaces so if what we really intend is 4 spaces then perhaps we should make them spaces not tabs? I agree that it is good practice to always use spaces instead of tabs. And AFAIK many editors(say, Eclipse, VI) can set this

RE: [jira] Commented: (HARMONY-350) HARMONY-39 Regular expressions does not match backreferences during find.

2006-04-18 Thread Loenko, Mikhail Y
Nikolay, please provide a single patch that resolves the problem Thanks, Mikhail -Original Message- From: Nikolay Kuznetsov (JIRA) [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 5:04 PM To: [EMAIL PROTECTED] Subject: [jira] Commented: (HARMONY-350) HARMONY-39 Regular

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Paulex Yang
Mark Hindess wrote: I thought my first message in this thread made this clear but obviously not. I'm not suggesting that code would care if the exception messages are identical. I was suggesting that it is probably now quite common for users to type error messages straight in to google.

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Stepan Mishura
Mark, The update only adjusts build files to *initial* style (that is tabs-style). IMHO really doesn't matter how many spaces in one tab if you follow one style in a file and don't mix tabs with spaces. Also I like tab-style because I have opportunity to choose a number of spaces that more

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Anton Avtamonov
On 4/18/06, Stepan Mishura [EMAIL PROTECTED] wrote: Mark, The update only adjusts build files to *initial* style (that is tabs-style). IMHO really doesn't matter how many spaces in one tab if you follow one style in a file and don't mix tabs with spaces. Also I like tab-style because I have

Re: [jira] Commented: (HARMONY-290) Incorrect SerialVersionUID in java.lang.*

2006-04-18 Thread Etienne Gagnon
Hi Mikhail, I guess I'll have to open a new report for the unit tests, right? Etienne Mikhail Loenko (JIRA) wrote: [ http://issues.apache.org/jira/browse/HARMONY-290?page=comments#action_12374906 ] Mikhail Loenko commented on HARMONY-290:

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Geir Magnusson Jr
Chris Gray wrote: On Tuesday 18 April 2006 01:34, Geir Magnusson Jr wrote: Really? Every other JRE uses the classlibrary from sun. Of the many open-source runtimes, none uses Sun's class library; I'm aware of that - that's why we're here. But as I understand it, there are no complete

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Geir Magnusson Jr
Wait - no tabs! no tabs! PLEASE! You can have your 1,743 character test case names if you want, but NO TABS! :) geir Mark Hindess wrote: Stepan, Just curious what you are fixing here? Changing 8 spaces to tabs? Why does this matter? Shouldn't tabs (at the beginning of a line) always be

Re: [jira] Commented: (HARMONY-290) Incorrect SerialVersionUID in java.lang.*

2006-04-18 Thread Geir Magnusson Jr
to contribute them? Etienne Gagnon wrote: Hi Mikhail, I guess I'll have to open a new report for the unit tests, right? Etienne Mikhail Loenko (JIRA) wrote: [ http://issues.apache.org/jira/browse/HARMONY-290?page=comments#action_12374906 ] Mikhail Loenko commented on HARMONY-290:

Re: [jira] Commented: (HARMONY-290) Incorrect SerialVersionUID in java.lang.*

2006-04-18 Thread Mikhail Loenko
I did not close the issue, as you asked. Thanks, Mikhail 2006/4/18, Etienne Gagnon [EMAIL PROTECTED]: Hi Mikhail, I guess I'll have to open a new report for the unit tests, right? Etienne Mikhail Loenko (JIRA) wrote: [

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Mikhail Loenko
+1 2006/4/18, Geir Magnusson Jr [EMAIL PROTECTED]: Wait - no tabs! no tabs! PLEASE! You can have your 1,743 character test case names if you want, but NO TABS! :) geir Mark Hindess wrote: Stepan, Just curious what you are fixing here? Changing 8 spaces to tabs? Why does this

Re: [jira] Commented: (HARMONY-290) Incorrect SerialVersionUID in java.lang.*

2006-04-18 Thread Etienne Gagnon
Of course. Etienne Geir Magnusson Jr wrote: to contribute them? -- Etienne M. Gagnon, Ph.D.http://www.info2.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/

Re: [jira] Commented: (HARMONY-290) Incorrect SerialVersionUID in java.lang.*

2006-04-18 Thread Etienne Gagnon
Ah! OK. I should have looked more carefully. Thanks, Etienne Mikhail Loenko wrote: I did not close the issue, as you asked. -- Etienne M. Gagnon, Ph.D.http://www.info2.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC:

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Etienne Gagnon
+1 too. Mikhail Loenko wrote: +1 2006/4/18, Geir Magnusson Jr [EMAIL PROTECTED]: Wait - no tabs! no tabs! PLEASE! You can have your 1,743 character test case names if you want, but NO TABS! :) -- Etienne M. Gagnon, Ph.D.http://www.info2.uqam.ca/~egagnon/ SableVM:

Re: [jira] Commented: (HARMONY-88) Contribution of code and unit tests for jndi, logging, prefs and sql plus unit tests only for beans, crypto, math, regex and security

2006-04-18 Thread Mikhail Loenko
I've integrated beans tests. I removed odd-looking package 'sun.beans'. Some [excluded] tests fail. Patches are welcome Is there anything remained from H-88? Thanks, Mikhail 2006/4/17, Richard Liang [EMAIL PROTECTED]: Mikhail Loenko wrote: Hi Richard Do you know, why these beans tests

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Mark Hindess
Stepan, Sorry. I didn't mean to blame you. I did realise that you were just putting it back to the initial style. Since you asked (well almost ;-) I'm in favour of 4 space indent since this is quite common in the java code. Unlike Geir I don't mind if tabs are used but they should always be

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Geir Magnusson Jr
Mark Hindess wrote: Stepan, Sorry. I didn't mean to blame you. I did realise that you were just putting it back to the initial style. Since you asked (well almost ;-) I'm in favour of 4 space indent since this is quite common in the java code. Unlike Geir I don't mind if tabs are used but

Summer Of Code 2006 - Lets get Harmony involved

2006-04-18 Thread Geir Magnusson Jr
Google again is running their Summer Of Code http://code.google.com/summerofcode.html program, and I think it would be great for the Harmony project to take advantage of it, assuming we can find willing students. If you are unfamiliar with the program, the goal is to allow computer science

Re: [jira] Commented: (HARMONY-88) Contribution of code and unit tests for jndi, logging, prefs and sql plus unit tests only for beans, crypto, math, regex and security

2006-04-18 Thread Richard Liang
Mikhail Loenko wrote: I've integrated beans tests. I removed odd-looking package 'sun.beans'. Some [excluded] tests fail. Patches are welcome Is there anything remained from H-88? Hello Mikhail, I think all code is in SVN. :-) Thanks, Mikhail 2006/4/17, Richard Liang [EMAIL PROTECTED]:

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Richard Liang
Geir Magnusson Jr wrote: Wait - no tabs! no tabs! PLEASE! You can have your 1,743 character test case names if you want, but NO TABS! :) geir Mark Hindess wrote: Stepan, Just curious what you are fixing here? Changing 8 spaces to tabs? Why does this matter? Shouldn't tabs (at the

RE: should strings in exceptions match the reference implementation?

2006-04-18 Thread Semukhina, Elena V
Just one more example. Should users feel comfortable when getting the RI's message java.lang.ArithmeticException: Division impossible? Isn't it better for a class library to provide java.lang.ArithmeticException: integer part of the quotient needs more than 11 digits to help our users find the

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Geir Magnusson Jr
Richard Liang wrote: Geir Magnusson Jr wrote: Wait - no tabs! no tabs! PLEASE! +1. But are there any way to release our pain from TABs? :-) Yes - most editors will convert tabs to spaces. I suppose if we agree on a no tabs rule, and find files w/ tabs, lets do a conversion, and

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Geir Magnusson Jr
What does the RI do? :) I was thinking more about this - can you imagine the confusion if in a mixed environment of Sun JRE and Harmony JRE, something went wrong that affected both, and you started getting two different error messages for the same problem in your logs? How confusing would

Re: classlib test suite status emails?

2006-04-18 Thread Mark Hindess
On 4/13/06, Stepan Mishura [EMAIL PROTECTED] wrote: Hi Mark, HARMONY-331 was commited to the trunk so is there any chance to have classlib test suite status emails sent to the commits list? Ok. I've added notifiers to both our linux and windows jobs that are doing build and test.

Re: [jira] Commented: (HARMONY-350) HARMONY-39 Regular expressions does not match backreferences during find.

2006-04-18 Thread Nikolay Kuznetsov
Done. Nikolay, please provide a single patch that resolves the problem Thanks, Mikhail - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Summer Of Code 2006 - Lets get Harmony involved

2006-04-18 Thread Archie Cobbs
Geir Magnusson Jr wrote: Google again is running their Summer Of Code http://code.google.com/summerofcode.html program, and I think it would be great for the Harmony project to take advantage of it, assuming we can find willing students. ... Lets agree on projects here first. Great idea..

Re: Summer Of Code 2006 - Lets get Harmony involved

2006-04-18 Thread Dalibor Topic
On Tue, Apr 18, 2006 at 09:19:30AM -0500, Archie Cobbs wrote: Geir Magnusson Jr wrote: Google again is running their Summer Of Code http://code.google.com/summerofcode.html program, and I think it would be great for the Harmony project to take advantage of it, assuming we can find willing

Re: Summer Of Code 2006 - Lets get Harmony involved

2006-04-18 Thread Geir Magnusson Jr
Excellent! Now we need a project. Have anything you'd like to propose? What interests you? geir Sanket Sharma wrote: Hey... I'm a final sem student doing my internship Get me in.. I wann get involved with harmony! Awaiting reply, Sanket -Original Message- From:

Re: ?Pascuas en el siglo XXI?

2006-04-18 Thread Fernando Cassia
On 4/18/06, Leo Simons [EMAIL PROTECTED] wrote: On Mon, Apr 17, 2006 at 07:37:47PM -0400, Geir Magnusson Jr wrote: Fernando Cassia wrote: What the Is there a way to moderate harmont-dev so messages like this can never make it to the list?. They only way that would get to the

Re: [jira] Created: (HARMONY-373) beans: Harmony does not throw NullPointerException in several cases while RI does.

2006-04-18 Thread Mark Hindess
On 4/18/06, Dmitry M. Kononov (JIRA) [EMAIL PROTECTED] wrote: beans: Harmony does not throw NullPointerException in several cases while RI does. -- Key: HARMONY-373 URL:

RE: [rmi] package comparison (was Re: Contribution of RMI framework)

2006-04-18 Thread Zakharov, Vasily M
Daniel, I've been trying to do some comparisons, as I promised, and I believe I'm missing something. I was testing the interoperability, and when I tried to use an Intel RMI client against an ITC server, it failed, although it worked against a Sun server. Changing client and server produces the

Re: [jira] Created: (HARMONY-373) beans: Harmony does not throw NullPointerException in several cases while RI does.

2006-04-18 Thread Dmitry M. Kononov
On 4/18/06, Mark Hindess [EMAIL PROTECTED] wrote: Dmitry, Out of curiosity, how are you discovering these? I've just uploaded an updated version of my testing tool to HARMONY-325. I think it should find most of the problems you are reporting - see the results file,

Re: should strings in exceptions match the reference implementation?

2006-04-18 Thread Dalibor Topic
Geir Magnusson Jr geir at pobox.com writes: Good question though - what does GNU Classpath do? Throw better exception messages, of course ;) I don't see a specific rule regarding this in the GNU Classpath hackers guide [1], but as long as a specific exception message (format) is not mandated

Re: classlib test suite status emails?

2006-04-18 Thread Stepan Mishura
On 4/18/06, Mark Hindess wrote: On 4/13/06, Stepan Mishura wrote: Hi Mark, HARMONY-331 was commited to the trunk so is there any chance to have classlib test suite status emails sent to the commits list? Ok. I've added notifiers to both our linux and windows jobs that are doing

Re: svn commit: r394890 - in /incubator/harmony/enhanced/classlib/trunk/modules: applet/make/common/ archive/make/common/ auth/make/common/ awt/make/common/ beans/make/common/ crypto/make/common/ jndi

2006-04-18 Thread Stepan Mishura
On 4/18/06, Mark Hindess wrote: Stepan, Sorry. I didn't mean to blame you. I did realise that you were just putting it back to the initial style. Mark, I also expected that you didn't want to blame me :-) As far as English is not my native language I used to read messages in a way like my