Re: [doc] Compatibility guidelines

2006-04-25 Thread Anton Avtamonov
Tim, that is excellent! Thank you. I have couple of minor questions: Am I right with interpretation that the primary source is the spec rather than RI behavior? If the spec is consistent and logical, but contradicts to the RI behavior we are basing on spec? I'm asking just because that caused

Re: Summer Of Code 2006 - Lets get Harmony involved

2006-04-25 Thread Chris Gray
On Monday 24 April 2006 23:34, Geir Magnusson Jr wrote: 1) Could we simply have a classloader that can be put in a special mode so it doesn't that unit tests for bootclasspath-resident packages are not on the boot classpath? If you mean that the custom classloader would try to load classes

Re: [classlib] matching RI exceptions -- are we required to have this type of compatibility?

2006-04-25 Thread Tim Ellison
Jimmy, Jing Lv wrote: Geir Magnusson Jr wrote: Vladimir Gorr wrote: Mikhail, I also thought about this scenario. However, if any TCK tests will fail due to this reason we cannot certify our product. Nobody will talk about the invalidity of TCK. Most likely we will update our sources.

Re: [doc] Compatibility guidelines

2006-04-25 Thread Tim Ellison
Anton Avtamonov wrote: Tim, that is excellent! Thank you. I have couple of minor questions: Am I right with interpretation that the primary source is the spec rather than RI behavior? If the spec is consistent and logical, but contradicts to the RI behavior we are basing on spec? I'm

Re: [classlib] resource files for testing serialization - .dat or .ser?

2006-04-25 Thread Tim Ellison
.ser is commonly used for Java serialized form http://filext.com/detaillist.php?extdetail=SER Regards, Tim Stepan Mishura wrote: Hi, Can we at least agree on extension for serialization resource files? Defining common extension can be a first step in merging serialization frameworks.

Re: [doc] Compatibility guidelines

2006-04-25 Thread Anton Avtamonov
On 4/25/06, Tim Ellison [EMAIL PROTECTED] wrote: Anton Avtamonov wrote: Tim, that is excellent! Thank you. I have couple of minor questions: Am I right with interpretation that the primary source is the spec rather than RI behavior? If the spec is consistent and logical, but

Re: [classlib] matching RI exceptions -- are we required to have this type of compatibility?

2006-04-25 Thread Dmitry M. Kononov
On 4/25/06, Tim Ellison [EMAIL PROTECTED] wrote: Jimmy, Jing Lv wrote: I agree. But there are at least two exceptional situation: 1) several exceptions throws from one method, which extend one parent class, e.g. ConnectionException and UnknownHostException, javadoc writes throws

Re: [admin] Split the list (was RE: Split the list ?)

2006-04-25 Thread Richard Liang
Nathan Beyer wrote: I'll add my vote to using the [topic] markers. This works well for other Apache projects like Jakarta Commons. I think they've split of some separate mailing lists, but this was based on the sheer volume for certain projects. +1. We could also give some common-used topic

Re: [classlib] resource files for testing serialization - .dat or .ser?

2006-04-25 Thread Richard Liang
Tim Ellison wrote: .ser is commonly used for Java serialized form http://filext.com/detaillist.php?extdetail=SER So we will rename the 296 files? wow ;-) Regards, Tim Stepan Mishura wrote: Hi, Can we at least agree on extension for serialization resource files? Defining common

Re: svn commit: r396803 - in /incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/tests/api/java/math: BigDecimalTest.java BigIntegerTest.java

2006-04-25 Thread Mark Hindess
On 25 April 2006 at 7:34, [EMAIL PROTECTED] wrote: Author: mloenko Date: Tue Apr 25 00:34:21 2006 New Revision: 396803 URL: http://svn.apache.org/viewcvs?rev=396803view=rev Log: applied changes for the tests from HARMONY-319: BigDecimal and Biginteger test failures should be fixed

Re: [classlib] matching RI exceptions -- are we required to have this type of compatibility?

2006-04-25 Thread Anton Avtamonov
On 4/25/06, Dmitry M. Kononov [EMAIL PROTECTED] wrote: On 4/25/06, Tim Ellison [EMAIL PROTECTED] wrote: Jimmy, Jing Lv wrote: I agree. But there are at least two exceptional situation: 1) several exceptions throws from one method, which extend one parent class, e.g.

Re: [classlib] resource files for testing serialization - .dat or .ser?

2006-04-25 Thread Anton Avtamonov
On 4/25/06, Richard Liang [EMAIL PROTECTED] wrote: Tim Ellison wrote: .ser is commonly used for Java serialized form http://filext.com/detaillist.php?extdetail=SER So we will rename the 296 files? wow ;-) If we will be affraid to beautify different contributions to be in the single

Re: [jira] Updated: (HARMONY-162) One JSE 5 method are not implemented in java/util/jar/JarEntry

2006-04-25 Thread Mark Hindess
On 25 April 2006 at 9:22, Paulex Yang (JIRA) [EMAIL PROTECTED] wrote: [ http://issues.apache.org/jira/browse/HARMONY-162?page=all ] Paulex Yang updated HARMONY-162: Attachment: Harmony162.zip Please try this patch, thanks Paulex, In the

Re: [classlib] matching RI exceptions -- are we required to have this type of compatibility?

2006-04-25 Thread Jimmy, Jing Lv
Anton Avtamonov wrote: On 4/25/06, Dmitry M. Kononov [EMAIL PROTECTED] wrote: On 4/25/06, Tim Ellison [EMAIL PROTECTED] wrote: Jimmy, Jing Lv wrote: I agree. But there are at least two exceptional situation: 1) several exceptions throws from one method, which extend one parent class, e.g.

Re: [jira] Assigned: (HARMONY-353) improvements to junit test method usage

2006-04-25 Thread Mark Hindess
Stepan These patches have lots of clashes now. I have new versions if you'd like me to upload them - or I can upload a new combined patch? -Mark. On 25 April 2006 at 9:56, Stepan Mishura (JIRA) [EMAIL PROTECTED] wrote: [ http://issues.apache.org/jira/browse/HARMONY-353?page=all ]

Re: [jira] Assigned: (HARMONY-353) improvements to junit test method usage

2006-04-25 Thread Stepan Mishura
It would be nice to have a new combined patch. Thanks, Stepan. On 4/25/06, Mark Hindess wrote: Stepan These patches have lots of clashes now. I have new versions if you'd like me to upload them - or I can upload a new combined patch? -Mark. On 25 April 2006 at 9:56, Stepan Mishura

Re: [classlib] resource files for testing serialization - .dat or .ser?

2006-04-25 Thread Chris Gray
On Tuesday 25 April 2006 11:23, Anton Avtamonov wrote: If we will be affraid to beautify different contributions to be in the single style we will have something very ugly and consisting of different patches rather than a product. A patchy implementation of J2SE? That would never do. (8-)

Re: [jira] Updated: (HARMONY-162) One JSE 5 method are not implemented in java/util/jar/JarEntry

2006-04-25 Thread Paulex Yang
Mark, Good point. I preferred zip because it is much smaller than separated files. In most cases, comparing with the total size of all separated files, the zip's size is about 1/7, so that it is also easier to download(someone still need to download the bytes even browsing in browser). And

Re: [classlib] matching RI exceptions -- are we required to have this type of compatibility?

2006-04-25 Thread Anton Avtamonov
On 4/25/06, Jimmy, Jing Lv [EMAIL PROTECTED] wrote: SNIP For the example 1) I mean the spec usually merge several exceptions into one parent exception. In this situation, commonly RI throws child exception itself, although it is hard to tell what RI exactly throw in some special situation.

Re: svn commit: r396803 - in /incubator/harmony/enhanced/classlib/trunk/modules/math/src/test/java/tests/api/java/math: BigDecimalTest.java BigIntegerTest.java

2006-04-25 Thread Mikhail Loenko
We did. I'll fix it. Would you volunteer providing a patch that replaces assertTrue with assertEquals in the remaining test methods? Thanks, Mikhail 2006/4/25, Mark Hindess [EMAIL PROTECTED]: On 25 April 2006 at 7:34, [EMAIL PROTECTED] wrote: Author: mloenko Date: Tue Apr 25 00:34:21

Re: [jira] Updated: (HARMONY-162) One JSE 5 method are not implemented in java/util/jar/JarEntry

2006-04-25 Thread Mark Hindess
On 25 April 2006 at 18:25, Paulex Yang [EMAIL PROTECTED] wrote: Mark, Good point. I preferred zip because it is much smaller than separated files. In most cases, comparing with the total size of all separated files, the zip's size is about 1/7, so that it is also easier to

Re: [classlib] matching RI exceptions -- are we required to have this type of compatibility?

2006-04-25 Thread Geir Magnusson Jr
Jimmy, Jing Lv wrote: Geir Magnusson Jr wrote: Vladimir Gorr wrote: Mikhail, I also thought about this scenario. However, if any TCK tests will fail due to this reason we cannot certify our product. Nobody will talk about the invalidity of TCK. Most likely we will update our

Re: relying on 'available()' (was: RE: [jira] Updated: (HARMONY-166) method read() in InputStreamReader failed to read one character)

2006-04-25 Thread Geir Magnusson Jr
psst... hey, Mikhail... how about a [classlib] on this subject line? :) Mikhail Loenko wrote: Vladimir, Method available() is still used to determine endOfInput parameter. According to specification the method should be overridden by subclasses. 'should' does not mean 'must' , moreover

Re: [jira] Updated: (HARMONY-162) One JSE 5 method are not implemented in java/util/jar/JarEntry

2006-04-25 Thread Paulex Yang
I'm convinced, and have practiced in your way, see Harmony-346:) Mark Hindess wrote: On 25 April 2006 at 18:25, Paulex Yang [EMAIL PROTECTED] wrote: Mark, Good point. I preferred zip because it is much smaller than separated files. In most cases, comparing with the total size of all

Re: Summer Of Code 2006 - Lets get Harmony involved

2006-04-25 Thread Geir Magnusson Jr
Yes, that would be another great project, but will there be enough of a coding element? I was reading through the SOC docs, and while it's not beaten over the readers head, there does appear to be a strong requirement of developing new code. As an example, working on an OSS project doing

Re: [doc] Compatibility guidelines

2006-04-25 Thread Geir Magnusson Jr
Tim Ellison wrote: Anton Avtamonov wrote: Tim, that is excellent! Thank you. I have couple of minor questions: Am I right with interpretation that the primary source is the spec rather than RI behavior? If the spec is consistent and logical, but contradicts to the RI behavior we are basing

Re: [doc] Compatibility guidelines

2006-04-25 Thread Geir Magnusson Jr
Anton Avtamonov wrote: On 4/25/06, Tim Ellison [EMAIL PROTECTED] wrote: Anton Avtamonov wrote: Tim, that is excellent! Thank you. I have couple of minor questions: Am I right with interpretation that the primary source is the spec rather than RI behavior? If the spec is consistent and

Re: Summer Of Code 2006 - Lets get Harmony involved

2006-04-25 Thread Geir Magnusson Jr
Chris Gray wrote: On Monday 24 April 2006 23:34, Geir Magnusson Jr wrote: 1) Could we simply have a classloader that can be put in a special mode so it doesn't that unit tests for bootclasspath-resident packages are not on the boot classpath? If you mean that the custom classloader would

Re: [jira] Updated: (HARMONY-162) One JSE 5 method are not implemented in java/util/jar/JarEntry

2006-04-25 Thread Geir Magnusson Jr
+1 Mark Hindess wrote: On 25 April 2006 at 9:22, Paulex Yang (JIRA) [EMAIL PROTECTED] wrote: [ http://issues.apache.org/jira/browse/HARMONY-162?page=all ] Paulex Yang updated HARMONY-162: Attachment: Harmony162.zip Please try this patch, thanks

Re: [jira] Updated: (HARMONY-162) One JSE 5 method are not implemented in java/util/jar/JarEntry

2006-04-25 Thread Geir Magnusson Jr
Mark Hindess wrote: On 25 April 2006 at 18:25, Paulex Yang [EMAIL PROTECTED] wrote: Mark, Good point. I preferred zip because it is much smaller than separated files. In most cases, comparing with the total size of all separated files, the zip's size is about 1/7, so that it is also

Re: [doc] Compatibility guidelines

2006-04-25 Thread Anton Avtamonov
On 4/25/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Anton Avtamonov wrote: On 4/25/06, Tim Ellison [EMAIL PROTECTED] wrote: Anton Avtamonov wrote: Tim, that is excellent! Thank you. I have couple of minor questions: Am I right with interpretation that the primary source is the

Re: Summer Of Code 2006 - Lets get Harmony involved

2006-04-25 Thread Tim Ellison
Geir Magnusson Jr wrote: Chris Gray wrote: On Monday 24 April 2006 23:34, Geir Magnusson Jr wrote: 1) Could we simply have a classloader that can be put in a special mode so it doesn't that unit tests for bootclasspath-resident packages are not on the boot classpath? If you mean that the

Re: [doc] Compatibility guidelines

2006-04-25 Thread Mikhail Loenko
Anton, look at Do we want to be bug compatible? thread everybody agreed to the scheme: 1. we should comply with spec 2. if RI is contradict with spec, and RI is not logical(sometimes it is very obvious, you know what I mean), we comply with spec; else, we discuss it case by case. 3. if spec is

Re: Summer Of Code 2006 - Lets get Harmony involved

2006-04-25 Thread Geir Magnusson Jr
Tim Ellison wrote: Geir Magnusson Jr wrote: Chris Gray wrote: On Monday 24 April 2006 23:34, Geir Magnusson Jr wrote: 1) Could we simply have a classloader that can be put in a special mode so it doesn't that unit tests for bootclasspath-resident packages are not on the boot classpath? If

RE: [Testing Convention] Stress tests: requirements review needed

2006-04-25 Thread Fedotov, Alexei A
Hi Alexander, Let me question the following requirement from your list: o System should have a possibility to vary test behavior and stress conditions using arguments Actually I'm thinking here about a test suite built from a simple blocks like small and fast unit tests, or functional tests

[admin] Build status messages

2006-04-25 Thread Mark Hindess
Can one of the list admins for the -commits list check to see why the new build (and test) status messages are not getting through to the list? The From address will be: Apache Harmony Build [EMAIL PROTECTED] and the subjects will be one of: Subject: [continuum] BUILD FAILURE:

Re: [doc] Compatibility guidelines

2006-04-25 Thread Anton Avtamonov
On 4/25/06, Mikhail Loenko [EMAIL PROTECTED] wrote: Anton, look at Do we want to be bug compatible? thread everybody agreed to the scheme: 1. we should comply with spec 2. if RI is contradict with spec, and RI is not logical(sometimes it is very obvious, you know what I mean), we comply

Re: relying on 'available()' (was: RE: [jira] Updated: (HARMONY-166) method read() in InputStreamReader failed to read one character)

2006-04-25 Thread Vladimir Strigun
Mikhail, OK, I'll prepare new patch. I've found other 2 issues that can affect InputStreamReader and I'll submit it soon. Thanks. Vladimir. On 4/25/06, Mikhail Loenko [EMAIL PROTECTED] wrote: Vladimir, Method available() is still used to determine endOfInput parameter. According to

Re: [admin] Build status messages

2006-04-25 Thread Geir Magnusson Jr
I got [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test about 38 mins ago w/ Message-ID : [EMAIL PROTECTED] Mark Hindess wrote: Can one of the list admins for the -commits list check to see why the new build (and test) status messages are not getting through to the list? The From

Re: [admin] Build status messages

2006-04-25 Thread Tim Ellison
Seems that SVN was unreachable from here for a while. I see it is building now so fingers-crossed for a BUILD SUCCESSFUL message any time soon. Regards, Tim Geir Magnusson Jr wrote: I got [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test about 38 mins ago w/ Message-ID : [EMAIL

RE: [admin] Build status messages

2006-04-25 Thread Magnusson, Geir
From my nag system messages, there was a problem in infra, but things look like they are back together. geir -- Geir Magnusson Jr SSG/MPD [EMAIL PROTECTED] +1 203 665 6437 -Original Message- From: Tim Ellison [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 11:09 AM To:

RE: [admin] Build status messages

2006-04-25 Thread Magnusson, Geir
So note that there may be delay in recovery - gettting the mail that queued up back out... geir -- Geir Magnusson Jr SSG/MPD [EMAIL PROTECTED] +1 203 665 6437 -Original Message- From: Magnusson, Geir [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 11:13 AM To:

Re: [classlib] Testing

2006-04-25 Thread Mikhail Loenko
Hello I'd like to bring this thread back. Number of tests is growing and it is time to put them in order. So far we may have: 1) implementation-specific tests that designed to be run from bootclasspath 2) implementation-specific tests that might be run from classpath 3) implementation-specific

Re: [doc] Compatibility guidelines

2006-04-25 Thread Mikhail Loenko
Geir agreed to 1-5 guidline in Do we want to be bug compatible? thread. Probably doc does not exactly match them. Let's ask Geir Thanks, Mikhail 2006/4/25, Anton Avtamonov [EMAIL PROTECTED]: On 4/25/06, Mikhail Loenko [EMAIL PROTECTED] wrote: Anton, look at Do we want to be bug