Re: Supporting working on a single module?

2006-05-12 Thread Jimmy, Jing Lv
Oliver Deakin wrote: Geir Magnusson Jr wrote: Mark Hindess wrote: On 9 May 2006 at 10:32, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Mark Hindess wrote: As the Harmony Classlib grows, I think that being able to work on a single module (or some subset of the modules) will become the typical

RE: [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test

2006-05-12 Thread Nathan Beyer
To whom it may concern. I was getting similar errors recently. It seems the HTTPS SVN site/port is down or blocked. Anyway, I fixed my stuff by changing to the http://svn.apache.org/ URL. -Original Message- From: Apache Harmony Build [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11,

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Mikhail Loenko
2006/5/12, Nathan Beyer [EMAIL PROTECTED]: Note, the RI is NOT throwing ArrayIndexOutOfBoundsExceptions, it is just letting them happen via invalid array look ups, but in these cases, the specification is marked with an IndexOutOfBoundsException. For most methods in StringBuilder and

RE: [classlib] Exception throwing compatibility

2006-05-12 Thread Semukhina, Elena V
2006/5/12, Jimmy, Jing Lv [EMAIL PROTECTED]: Mikhail Fursov wrote: I agree that the easiest way for us is to throw RI or subclass. +1. Is it 'bad' practice to fix this bug (replace subclass with RI) on user request and do not think about this problem today? In this

Re: [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test

2006-05-12 Thread Richard Liang
That's great. Thanks Nathan. :-) Shall we also change our build system to access Harmony SVN repository through http instead of https? Nathan Beyer wrote: To whom it may concern. I was getting similar errors recently. It seems the HTTPS SVN site/port is down or blocked. Anyway, I fixed my

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Jimmy, Jing Lv
Stepan Mishura wrote: On 5/12/06, Jimmy, Jing Lv wrote: Mikhail Fursov wrote: I agree that the easiest way for us is to throw RI or subclass. +1. Is it 'bad' practice to fix this bug (replace subclass with RI) on user request and do not think about this problem today? In this case,

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Mikhail Fursov
Note that this is not only beautiful but also performance oriented way - do not create extra rethrows if it's possible On 5/12/06, Semukhina, Elena V [EMAIL PROTECTED] wrote: To have a beautiful fix, why don't you just write System.arraycopy(data, start, value, 0, count); without trying

Re: Supporting working on a single module?

2006-05-12 Thread Mark Hindess
On 12 May 2006 at 13:59, Jimmy, Jing Lv [EMAIL PROTECTED] wrote: Oliver Deakin wrote: To do this there are at least three steps needed, as far as I can see: 1) Refactor the native code into the modular structure we currently have for Java code and tests. This has been spoken about

Re: [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test

2006-05-12 Thread Mark Hindess
On 12 May 2006 at 1:01, Nathan Beyer [EMAIL PROTECTED] wrote: To whom it may concern. I was getting similar errors recently. It seems the HTTPS SVN site/port is down or blocked. Anyway, I fixed my stuff by changing to the http://svn.apache.org/ URL. I've been getting these consistently since

Re: [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test

2006-05-12 Thread Mark Hindess
On 12 May 2006 at 14:19, Richard Liang [EMAIL PROTECTED] wrote: That's great. Thanks Nathan. :-) Shall we also change our build system to access Harmony SVN repository through http instead of https? Unless committers are also able to use http instead of https then I'd rather know about

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Tim Ellison
Mikhail Loenko wrote: 2006/5/12, Jimmy, Jing Lv [EMAIL PROTECTED]: snip However according to http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html it has already draw a conclusion that: 1) throw according to spec 2) when we discover RI throw difference exception which

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Tim Ellison
Nathan Beyer wrote: snip What is the value in changing the 1 method that throws StringIndexOutOfBoundsException to ArrayIndexOutOfBoundsException? According to the compatibility guidelines, first and foremost we follow the specification. The documented exception (no pun intended) to this rule

Re: Supporting working on a single module?

2006-05-12 Thread Tim Ellison
Geir Magnusson Jr wrote: Nathan Beyer wrote: Perhaps this is a bit of an aside, but one of the biggest difficulties I have when trying to develop against a single module is the availability of the test support classes. Currently, I run the ant build and run the 'compile-support' to build the

Re: [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test

2006-05-12 Thread Tim Ellison
Hey, I'm using it as a time server (with a really long root delayg). Regards, Tim Mark Hindess wrote: On 12 May 2006 at 14:19, Richard Liang [EMAIL PROTECTED] wrote: That's great. Thanks Nathan. :-) Shall we also change our build system to access Harmony SVN repository through http instead

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Chris Gray
More generally, from a performance point of view it is best not to write if (index 0 || index = array.length || etc. etc.) { throw new FooIndexOutOfBoundsException(); } if there is a method call or an array access which will throw the exception anyway. (Many null parameter checks can be

[classlib] exception messages (was: Re: svn commit: r400008 - in /incubator/harmony/enhanced/classlib/trunk/modules/text/src: main/java/java/text/ test/java/org/apache/harmony/text/tests/java/text/)

2006-05-12 Thread Tim Ellison
(sorry for the late response) Mikhail Loenko wrote: For both items we had discussions that did not complete to decisions: About exception messages Geir was going to contact Sun. I believe the issue was not whether we can copy Sun's exception messages but the problem of a test case asserting

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Alexey Petrenko
2006/5/12, Nathan Beyer [EMAIL PROTECTED]: What is the value in changing the 1 method that throws StringIndexOutOfBoundsException to ArrayIndexOutOfBoundsException? The value is that possible user application depending on RI's behaviour will work with ArrayIndexOutOfBoundsException but will

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Ivan Volosyuk
I have different opinion there. This exception is quite rare in this function, isn't it? If so, we can optimize common pass by removing explicit checks. It could be performance beneficial. There other point here, internal exception can be lazy exception or even be optimized out. On DRLVM IMHO if

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Jimmy, Jing Lv
Chris Gray wrote: More generally, from a performance point of view it is best not to write if (index 0 || index = array.length || etc. etc.) { throw new FooIndexOutOfBoundsException(); } if there is a method call or an array access which will throw the exception anyway. (Many null

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread George Harley
Nathan Beyer wrote: Note, the RI is NOT throwing ArrayIndexOutOfBoundsExceptions, it is just letting them happen via invalid array look ups, but in these cases, the specification is marked with an IndexOutOfBoundsException. Hi Nathan, If we consider the RI as a black box whose internals

[classlib] Plan to create a new snapshot

2006-05-12 Thread Tim Ellison
I'd like to create a new snapshot of the classlib code this weekend and upload it to our dist directory[1] (in time for JavaOne). Please shout if you have any objection. Regards, Tim [1] http://cvs.apache.org/dist/incubator/harmony/snapshots/ -- Tim Ellison ([EMAIL PROTECTED]) IBM Java

Re: [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test

2006-05-12 Thread Leo Simons
The SVN machine (minotaur.apache.org aka people.apache.org) has suffered some severe crashes 'n stuff. Committers have been notified (through the committers@ mailing list) and will be notified again when write access is back up. On Fri, May 12, 2006 at 08:45:52AM +0100, Mark Hindess wrote: On

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Chris Gray
On Friday 12 May 2006 11:37, George Harley wrote: Nathan Beyer wrote: Note, the RI is NOT throwing ArrayIndexOutOfBoundsExceptions, it is just letting them happen via invalid array look ups, but in these cases, the specification is marked with an IndexOutOfBoundsException. Hi Nathan, If

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Mikhail Loenko
2006/5/12, Tim Ellison [EMAIL PROTECTED]: Mikhail Loenko wrote: 2006/5/12, Jimmy, Jing Lv [EMAIL PROTECTED]: snip However according to http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html it has already draw a conclusion that: 1) throw according to spec 2) when we

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Mikhail Loenko
2006/5/12, George Harley [EMAIL PROTECTED]: It sounds like there are as many interpretations of the guidelines as their are correspondents on this topic :-) My suggested change would be that we state that Harmony class library code should throw exceptions of the same runtime class as the RI.

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread George Harley
Chris Gray wrote: On Friday 12 May 2006 11:37, George Harley wrote: Nathan Beyer wrote: Note, the RI is NOT throwing ArrayIndexOutOfBoundsExceptions, it is just letting them happen via invalid array look ups, but in these cases, the specification is marked with an

Re: [jira] Commented: (HARMONY-160) Three JSE 5 methods are not implemented in java.util.zip.InflaterInputStream

2006-05-12 Thread Mikhail Fursov
BTW I propose to add a String: reason why into every exception thrown: E.g. replace: throw new IOException(); with throw new IOException(Stream does not support reset operation..); ? On 5/12/06, Paulex Yang (JIRA) [EMAIL PROTECTED] wrote: [

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread George Harley
Mikhail Loenko wrote: 2006/5/12, George Harley [EMAIL PROTECTED]: It sounds like there are as many interpretations of the guidelines as their are correspondents on this topic :-) My suggested change would be that we state that Harmony class library code should throw exceptions of the same

Re: Supporting working on a single module?

2006-05-12 Thread Oliver Deakin
Geir Magnusson Jr wrote: Oliver Deakin wrote: Geir Magnusson Jr wrote: Mark Hindess wrote: On 9 May 2006 at 10:32, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Mark Hindess wrote: As the Harmony Classlib grows, I think that being able to work on a single module (or some subset of the

Re: [classlib] Exception throwing compatibility

2006-05-12 Thread Mikhail Loenko
Hi George, 2006/5/12, George Harley [EMAIL PROTECTED]: Mikhail Loenko wrote: 2006/5/12, George Harley [EMAIL PROTECTED]: It sounds like there are as many interpretations of the guidelines as their are correspondents on this topic :-) My suggested change would be that we state that Harmony

Re: communities shouldn't be partitioned

2006-05-12 Thread Tim Ellison
Leo, We partitioned Harmony contributors a long time ago (based on prior access as declared in the ACQ), so while you state it as: * there are people who want to only ever work on a small part of the codebase in fact there are people who only *can* contribute to a part of the Harmony

[test] please ignore

2006-05-12 Thread Geir Magnusson Jr
please ignore - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [classlib] Plan to create a new snapshot

2006-05-12 Thread Magnusson, Geir
Can you get the src snap there as well? -- Geir Magnusson Jr SSG/MPD [EMAIL PROTECTED] +1 203 665 6437 -Original Message- From: Tim Ellison [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 5:39 AM To: harmony-dev Subject: [classlib] Plan to create a new snapshot I'd like

Re: [classlib] exception messages

2006-05-12 Thread Tim Ellison
Mikhail Loenko wrote: 2006/5/12, Tim Ellison [EMAIL PROTECTED]: Tests shouldn't assert the actual message String in an exception. I disagree. We need some technique to test exception messages. As I wrote in the thread should strings in exceptions match the reference implementation?

Re: [classlib] Plan to create a new snapshot

2006-05-12 Thread Tim Ellison
sure Magnusson, Geir wrote: Can you get the src snap there as well? -- Tim Ellison ([EMAIL PROTECTED]) IBM Java technology centre, UK. - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe,

Re: [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test

2006-05-12 Thread Andrey Chernyshev
Hi All, I'd like to mention one more issue concerned with the broken https access: the building script supplied with the DRLVM is currently checking out sources for class libraries from https://svn.apache.org/... . Though it can be easily changed in a build property file, this still may create

Re: [continuum] BUILD ERROR: Classlib/win.ia32 Build/Test

2006-05-12 Thread Geir Magnusson Jr
Either way. We expect to be fixed soon - it's not avail because infra wants to review the SVN repo to ensure that there was no damage due to the crash. That should be happening today. gier Andrey Chernyshev wrote: Hi All, I'd like to mention one more issue concerned with the broken https

RE: [classlib] exception messages

2006-05-12 Thread Loenko, Mikhail Y
From: Tim Ellison [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 10:50 PM To: harmony-dev@incubator.apache.org Subject: Re: [classlib] exception messages Mikhail Loenko wrote: 2006/5/12, Tim Ellison [EMAIL PROTECTED]: Tests shouldn't assert the actual message String in an exception. I

Re: [jira] Commented: (HARMONY-160) Three JSE 5 methods are not implemented in java.util.zip.InflaterInputStream

2006-05-12 Thread Tim Ellison
I agree (modulo externalizing the message string). Regards, Tim Mikhail Fursov wrote: BTW I propose to add a String: reason why into every exception thrown: E.g. replace: throw new IOException(); with throw new IOException(Stream does not support reset operation..); ? On 5/12/06,

Re: Supporting working on a single module?

2006-05-12 Thread Andrey Chernyshev
On 5/12/06, Oliver Deakin [EMAIL PROTECTED] wrote: Geir Magnusson Jr wrote: Oliver Deakin wrote: Geir Magnusson Jr wrote: Mark Hindess wrote: On 9 May 2006 at 10:32, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Mark Hindess wrote: As the Harmony Classlib grows, I think that being able to

Stress tests generator

2006-05-12 Thread Shipilov, Alexander D
Hello, We had a discussion about stress tests design. I'd like to present you simple model which allows construction of stress tests from junit tests. Using simple configuration strings we get various stress scenarios. Please, find it here:

OPEN Specification

2006-05-12 Thread Rana Dasgupta
Hi, Alongside the DRLVM codebase, here is a contribution from Intel of an OPEN ( Open Pluggable Extensible Interface ) specification for JVM and Classlibrary-VM Interface development. URL: http://issues.apache.org/jira/browse/HARMONY-459 We hope that this spec will promote modular component

Re: Stress tests generator

2006-05-12 Thread Mark Hindess
On 12 May 2006 at 21:18, Shipilov, Alexander D [EMAIL PROTECTED] wrote: Hello, We had a discussion about stress tests design. I'd like to present you simple model which allows construction of stress tests from junit tests. Using simple configuration strings we get various stress

unsuscribe

2006-05-12 Thread hugo F.
unsuscribe - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: unsuscribe

2006-05-12 Thread Mike Ringrose
Try [EMAIL PROTECTED] On 5/12/06, hugo F. [EMAIL PROTECTED] wrote: unsuscribe - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: unsuscribe

2006-05-12 Thread hugo F.
I already tryed: it doesn't work Have I to write a message? From: Mike Ringrose [EMAIL PROTECTED] Reply-To: harmony-dev@incubator.apache.org To: harmony-dev@incubator.apache.org Subject: Re: unsuscribe Date: Fri, 12 May 2006 13:39:43 -0400 Try [EMAIL PROTECTED] On 5/12/06, hugo F. [EMAIL

Re: unsuscribe

2006-05-12 Thread Geir Magnusson Jr
I did it manually... you should only get one copy of this due to the CC hugo F. wrote: I already tryed: it doesn't work Have I to write a message? From: Mike Ringrose [EMAIL PROTECTED] Reply-To: harmony-dev@incubator.apache.org To: harmony-dev@incubator.apache.org Subject: Re: unsuscribe

[DRLVM] -- JVMTI support?

2006-05-12 Thread Elford, Chris L
Hi all, I was working with the version of DRLVM that I compiled off of JIRA-438. I tried it with a JVMTI agent using -agentlib:... It looks like this version gives Class Load events. According to JVMTI, loading eclipse loads 4,189 classes. I'm not seeing any Method Load Events though.

RE: Stress tests generator

2006-05-12 Thread Fedotov, Alexei A
Mark, Please, find it here: http://wiki.apache.org/ Shouldn't this go in a JIRA rather than on the wiki? If I understand Alexander correctly, currently this is not yet a contribution, but a prototype. Alexander has presented a concept sketch and awaits a design review from the community. My

Re: [DRLVM] -- JVMTI support?

2006-05-12 Thread Gregory Shimansky
On Friday 12 May 2006 22:18 Elford, Chris L wrote: Hi all, I was working with the version of DRLVM that I compiled off of JIRA-438. I tried it with a JVMTI agent using -agentlib:... It looks like this version gives Class Load events. According to JVMTI, loading eclipse loads 4,189

[classlib][announce] New snapshot builds available

2006-05-12 Thread Tim Ellison
New class library snapshot builds are available on the Harmony downloads page: http://cvs.apache.org/dist/incubator/harmony/snapshots/ These represent the state of the classlib code at repository revision r405803. There are both binary and source versions available as a convenience for

Re: Stress tests generator

2006-05-12 Thread Tim Ellison
Fedotov, Alexei A wrote: Mark, Please, find it here: http://wiki.apache.org/ Shouldn't this go in a JIRA rather than on the wiki? If I understand Alexander correctly, currently this is not yet a contribution, but a prototype. Alexander has presented a concept sketch and awaits a design

RE: [DRLVM] -- JVMTI support?

2006-05-12 Thread Elford, Chris L
Thanks Gregory, I did mean CompiledMethodLoad. Thanks for the explanation about the state of JVMTI support in DRLVM and the caveat about -agentlib defaulting to interpreted mode for some simple JVMTI support. Adding -Dvm.use_interpreter=false did enabled the JIT for me [and the

RE: Stress tests generator

2006-05-12 Thread Magnusson, Geir
Is any license included? If not, just add that I'll put pointers on the wiki that our mail list contribution policy applies... -- Geir Magnusson Jr SSG/MPD [EMAIL PROTECTED] +1 203 665 6437 -Original Message- From: Tim Ellison [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006

Re: OPEN Specification

2006-05-12 Thread Andrew Zhang
Hello, Rana I took a quick view on the document, and I have some questions on Chapter 6. Let's take 6.9.1 A.NM ACCESS TO NATIVE MEMORY as example: citeThe MemoryAccessor interface includes the following function groups: 1.Memory allocation and de-allocation: malloc, realloc, free 2.Operations