Re: Moving forward with RMI and Math ( was Re: towards a new implementation of java.math)

2006-05-23 Thread Mark Hindess
On 24 May 2006 at 12:50, "Mikhail Loenko" <[EMAIL PROTECTED]> wrote: > 2006/5/24, Stepan Mishura <[EMAIL PROTECTED]>: > > On 5/24/06, Mikhail Loenko wrote: > > > > > > 2006/5/24, Geir Magnusson Jr : > > > > I'd like to propose that we choose what we judge to be the best > > > > RMI implementation,

Re: [Stress tests] generator review I

2006-05-23 Thread Mikhail Fursov
+1 TestNG is a next generation of JUnit and standardize a lot of solutions JUnit develops reinvent every time. On 5/24/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote: Also look at TestNG. Someday when I find the time, I'm going to make the argument we should switch, and don't wish to be held

[DRLVM] proposal to port MMTK to drlvm

2006-05-23 Thread Weldon Washburn
Folks, There were several interesting email chains about Harmony VM and MMTK last year. This topic died in large part because there was no JVM. Since then, several JVMs have been donated. I volunteer to do an initial investigation of porting MMTK to the recent DRLVM donation. From a quick grep

Re: Moving forward with RMI and Math ( was Re: towards a new implementation of java.math)

2006-05-23 Thread Mikhail Loenko
2006/5/24, Stepan Mishura <[EMAIL PROTECTED]>: On 5/24/06, Mikhail Loenko wrote: > > 2006/5/24, Geir Magnusson Jr : > > I'd like to propose that we choose what we judge to be the best RMI > > implementation, and the best math implementation now so we can move > > forward, with the understanding t

Re: Moving forward with RMI and Math ( was Re: towards a new implementation of java.math)

2006-05-23 Thread Stepan Mishura
On 5/24/06, Mikhail Loenko wrote: 2006/5/24, Geir Magnusson Jr : > I'd like to propose that we choose what we judge to be the best RMI > implementation, and the best math implementation now so we can move > forward, with the understanding that anyone interested can continue to > work to merge th

Re: Moving forward with RMI and Math ( was Re: towards a new implementation of java.math)

2006-05-23 Thread Mikhail Loenko
I think that contribution authors and everyone who is interested in the areas will control that their best ideas go to the merged version. It seems that we do not need a special document about that Thanks, Mikhail 2006/5/24, Vladimir Gorr <[EMAIL PROTECTED]>: Who will control the accuracy of t

Re: [classlib] Layout of tests in crypto module

2006-05-23 Thread Mikhail Loenko
2006/5/24, Geir Magnusson Jr <[EMAIL PROTECTED]>: George Harley wrote: > Hi Mikhail, > > That is a very good point and your suggestion of supplementing the class > or package name sounds like a very straightforward way around the > problem. Because there will be a number of tests that must be i

Re: Moving forward with RMI and Math ( was Re: towards a new implementation of java.math)

2006-05-23 Thread Vladimir Gorr
Who will control the accuracy of this process (I mean merging)? Obviously we need to have the document substantiating that or other choice. What do you think? Thanks, Vladimir. On 5/24/06, Mikhail Loenko <[EMAIL PROTECTED]> wrote: 2006/5/24, Geir Magnusson Jr <[EMAIL PROTECTED]>: > I'd like to

Re: Moving forward with RMI and Math ( was Re: towards a new implementation of java.math)

2006-05-23 Thread Mikhail Loenko
2006/5/24, Geir Magnusson Jr <[EMAIL PROTECTED]>: I'd like to propose that we choose what we judge to be the best RMI implementation, and the best math implementation now so we can move forward, with the understanding that anyone interested can continue to work to merge the additional contributio

Re: [classlib] resource files for testing serialization - location and name?

2006-05-23 Thread Stepan Mishura
On 5/24/06, Geir Magnusson Jr wrote: Do you believe you came to a conclusion? Do you want to summarize? Yes, I'm going to put summary on web-site. Thanks, Stepan. geir Stepan Mishura wrote: > Hi, > > During the last discussion no agreements were made - though it was very > useful for me

Re: [jira] Updated: (HARMONY-491) [classlib] Constructors of java.nio.charset.CharsetEncoder should not throw NPE if charset==null

2006-05-23 Thread Andrew Zhang
Hi, Svetlana I took a quick view on your patch, I found your quick fix didn't resolve the problem thoroughly. Try to comment following code in your test case, RI fails on the test case but Harmony with your patch passes. public boolean isLegalReplacement(byte[] arg0) { return true;

Re: jchevm status?

2006-05-23 Thread Archie Cobbs
Ivan Volosyuk wrote: That's great! I have seen the notification. There are quite a few changes I see. I've implemented NewWeakGlobalRef in r408937, so that patch is no longer needed. If you update make sure you get at least r408953, which contains a bug fix. -Archie

Re: jchevm status?

2006-05-23 Thread Ivan Volosyuk
That's great! I have seen the notification. There are quite a few changes I see. -- Ivan 2006/5/23, Archie Cobbs <[EMAIL PROTECTED]>: FYI, I've implemented NewWeakGlobalRef in r408937, so that patch is no longer needed. -Archie

Re: jchevm status?

2006-05-23 Thread Ivan Volosyuk
The point is, that I have already signed some papers for my part in contribution of DRLVM. Anyway, I can send ACQ and ICLA via fax tommorow. -- Ivan 2006/5/23, Geir Magnusson Jr <[EMAIL PROTECTED]>: That said, as Mark pointed out, it would be good to have at least the ACQ from Ivan, and also the

Re: [DRLVM] build process improvement

2006-05-23 Thread Andrey Chernyshev
On 5/23/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote: Andrey Chernyshev wrote: > Returning back to the subject of this discussion, I guess it should be > relatively easy to modify the DRLVM building system such that it would > get the binary HDK from web and use it for compilation of a sing

Re: Sorry about that list burst - I was on a plane for a while and could catch up

2006-05-23 Thread James Pluck
On 5/24/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote: :) geir *chuckle* Productive plane ride! James. -- James Pluck PalmOS Ergo Sum - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-m

Sorry about that list burst - I was on a plane for a while and could catch up

2006-05-23 Thread Geir Magnusson Jr
:) geir - 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] resource files for testing serialization - location and name?

2006-05-23 Thread Geir Magnusson Jr
Do you believe you came to a conclusion? Do you want to summarize? geir Stepan Mishura wrote: Hi, During the last discussion no agreements were made - though it was very useful for me. And I'd like to start new round for serialization testing. I want to define rules for locating and naming re

Re: [classlib] Layout of tests in crypto module

2006-05-23 Thread Geir Magnusson Jr
George Harley wrote: Hi Mikhail, That is a very good point and your suggestion of supplementing the class or package name sounds like a very straightforward way around the problem. Because there will be a number of tests that must be in an identical package name to the type under test then

Re: DRLVM contribution - try this out!

2006-05-23 Thread Geir Magnusson Jr
And please create new JIRA's for the patches. Link your new JIRA to the old JIRA that it patches, and have a good description of what it does, what it replaces, etc If we do this right, we have a clear chain of JIRAs to follow when we vote and probably* accept DRLVM. geir * because it is s

Re: DRLVM contribution - try this out!

2006-05-23 Thread Geir Magnusson Jr
Vladimir Gorr wrote: On 5/19/06, Andrey Chernyshev <[EMAIL PROTECTED]> wrote: On 5/19/06, Ivan Volosyuk <[EMAIL PROTECTED]> wrote: > IMHO, I would prefer new patch attached. Say, named like: > DRLVM-GCC-3.4_and_4.x-cumulative_v2.patch > DRLVM-GCC-3.4_and_4.x-cumulative_20060519.patch > > It

Re: [classlib] testing config

2006-05-23 Thread Geir Magnusson Jr
Tim Ellison wrote: Mikhail Loenko wrote: Hi George Wasn't that you who strictly opposed logging to stderr ~3-5 months ago? :) As I remember, you said that no one will read that stderr. I said that (George may have too). Every test either passes or fails. We can agree that skipped tests co

Moving forward with RMI and Math ( was Re: towards a new implementation of java.math)

2006-05-23 Thread Geir Magnusson Jr
I'd like to propose that we choose what we judge to be the best RMI implementation, and the best math implementation now so we can move forward, with the understanding that anyone interested can continue to work to merge the additional contributions into whatever was chosen. We then get out of

Multi-tree HDK config - working directory ( was Re: Supporting working on a single module?)

2006-05-23 Thread Geir Magnusson Jr
Some stuff that got lost (because I got consumed by J1 and I was the only one pushing on it) was the idea of ensuring that 1) the HDK could be anywhere - the was no hard-wired spot. That allowed having multiple simultaneous HDKs (ex different snapshot version) at the same time as a full build

Re: Supporting working on a single module?

2006-05-23 Thread Geir Magnusson Jr
On thing to think about (which I didn't realize until now) is that HDK should sit above /classlib in the tree right? the VMs will need it as well. I imagine : enhanced/ classlib/ drlvm/ jchevm/ bootvm/ So maybe add a enhanced/common directory in which the HDK sits by def

Re: [DRLVM] build process improvement

2006-05-23 Thread Geir Magnusson Jr
Andrey Chernyshev wrote: Returning back to the subject of this discussion, I guess it should be relatively easy to modify the DRLVM building system such that it would get the binary HDK from web and use it for compilation of a single module. I don't understand this sentence. Do you mean a c

Re: jchevm status?

2006-05-23 Thread Geir Magnusson Jr
That said, as Mark pointed out, it would be good to have at least the ACQ from Ivan, and also the ICLA geir Archie Cobbs wrote: Weldon Washburn wrote: Please hold off the check-in for a few days. I would like to try Ivan's mods on my machine to make certain they are complete. The intention

Re: [classlib] HARMONY-199 Contents

2006-05-23 Thread Geir Magnusson Jr
When you do the commit, please note the difference in the log message. (just the list of stuff that didnt' make it. Feel free to use wildcards...) thx geir George Harley wrote: Hi, While preparing to commit the javax.crypto and java.math contributions attached to HARMONY-199 I noticed that

Re: Supporting working on a single module?

2006-05-23 Thread Geir Magnusson Jr
Post J1 catchup. Just minor comments, am trying to read the thread through... Mark Hindess wrote: On 10 May 2006 at 8:07, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote: AS a matter of fact, I think that the hdk is simple a tar of the junk created by a "make the world" build... I wouldn't have

Re: [Stress tests] generator: looking forward

2006-05-23 Thread Geir Magnusson Jr
How about a patch for the website, including instructions on what to do? Fedotov, Alexei A wrote: Alex, Please, find the new version (0.2) and all previous versions here: http://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12340105 Good. I like it (everyone likes when his suggesti

Re: [Stress tests] generator review I

2006-05-23 Thread Geir Magnusson Jr
The JUnit license is compatible with what we are doing, so if there's something there we can re-use, great. Also look at TestNG. Someday when I find the time, I'm going to make the argument we should switch, and don't wish to be held back by JUnit :) geir Anton Luht wrote: Alexander, I'v

Re: [classlib] jetty based tests

2006-05-23 Thread Geir Magnusson Jr
This thread was a long read :) First, I'm all for using Jetty as our test server (I think we talked about this a long time ago...). We could even use Tomcat, but my experience in the past was that Jetty was very easy to emebed. By default, there should be no external dependency to build, te

Re: [classlib] jetty based tests

2006-05-23 Thread Geir Magnusson Jr
George Harley wrote: Stepan Mishura wrote: Hi George, Tim I'd like to clarify the following questions: 1) Configuring As I understood we say that the server is 'embedded' when we can start/stop it within Ant without additional configuration steps. And all we need to do is just download req

[tools] working on tools launching (was: Re: svn commit: r408897 - /incubator/harmony/enhanced/classlib/trunk/native-src/shared/launcher/main.c)

2006-05-23 Thread Tim Ellison
FYI I'm experimenting with launcher changes to support JDK tools. (javac, javadoc, etc.) It is work in progress that should not break the existing java launcher behavior (I am running the tests continuously). You can expect to see incremental improvements over the next couple of days. I'll also

Re: jchevm status?

2006-05-23 Thread Archie Cobbs
Ivan Volosyuk wrote: I have prepared my modifications and posted a patch against the SVN/classlibadapter. http://issues.apache.org/jira/browse/HARMONY-483 I was able to get rid of all native modifications and some of modified classes. NewWeakGlobalRef implementation on vm needed though. FYI,

Re: [jira] Created: (HARMONY-479) java.io.FileInputStream and FileOutputStream might cause Finalizer thread suspending

2006-05-23 Thread Tim Ellison
FYI exceptions thrown during a finalize method end the execution of that method, but otherwise are ignored by the finalizer. Regards, Tim Paulex Yang wrote: > Gregory, > > Sorry I response so late. I just back from a long vacation and it took > me longer time than I expected to catch up the mail

Re: [classlib] jetty based tests

2006-05-23 Thread Paulex Yang
Stepan Mishura wrote: Hi George, Paulex, Thanks for your answers. As a preliminary result - your convinced me and I'm going to be volunteer to evaluate jetty integration to classlib test suite. Great, thank you, Stepan! Do anybody work on integrating jetty http server to move net tests ou

Re: [classlib] jetty based tests

2006-05-23 Thread Stepan Mishura
Hi George, Paulex, Thanks for your answers. As a preliminary result - your convinced me and I'm going to be volunteer to evaluate jetty integration to classlib test suite. Do anybody work on integrating jetty http server to move net tests out of exclude list? Thanks, Stepan. On 5/23/06, George

Re: [classlib] jetty based tests

2006-05-23 Thread Stepan Mishura
On 5/23/06, Andrew Zhang <[EMAIL PROTECTED]> wrote: Hi, Stepan, "No we shouldn't write a mock http server for each case (I mean that we need not implement http protocol each time)." Shall we implement http sometimes? If no, how can we verfiy HttpURLConnection function, for example, whether the

Re: [classlib] jetty based tests

2006-05-23 Thread George Harley
Paulex Yang wrote: Mikhail Loenko wrote: Can jetty send back for example a response consisting of the following 4 bytes: 0x00 0x01 0x02 0x03 Sure, but if you need control of such level, a mocked SocketListener may be necessary, check out the codes below, the client socket will print 0-3, r

Re: [jira] Created: (HARMONY-479) java.io.FileInputStream and FileOutputStream might cause Finalizer thread suspending

2006-05-23 Thread Gregory Shimansky
Hello Paulex I have no objections against your changes. A check is always cheaper than exception. I just wondered how a user code such as finalizer can affect VM like that, nothing more. 2006/5/23, Paulex Yang <[EMAIL PROTECTED]>: > I have a question about this problem. Do you know how except

Re: [classlib] jetty based tests

2006-05-23 Thread Paulex Yang
George Harley wrote: Mikhail Loenko wrote: 2006/5/23, George Harley <[EMAIL PROTECTED]>: Mikhail Loenko wrote: > Can jetty send back for example a response consisting of the following > 4 bytes: > > 0x00 0x01 0x02 0x03 > > ? Have you checked ? I'm just asking. I do not state that Hi Mi

Re: [classlib] jetty based tests

2006-05-23 Thread Paulex Yang
Mikhail Loenko wrote: Can jetty send back for example a response consisting of the following 4 bytes: 0x00 0x01 0x02 0x03 Sure, but if you need control of such level, a mocked SocketListener may be necessary, check out the codes below, the client socket will print 0-3, respectively. publi

Re: [classlib] jetty based tests

2006-05-23 Thread George Harley
Mikhail Loenko wrote: 2006/5/23, George Harley <[EMAIL PROTECTED]>: Mikhail Loenko wrote: > Can jetty send back for example a response consisting of the following > 4 bytes: > > 0x00 0x01 0x02 0x03 > > ? Have you checked ? I'm just asking. I do not state that Hi Mikhail, I misunderstood

Re: [Stress tests] generator review I

2006-05-23 Thread Anton Luht
Alexander, I've looked at the existing JUnit extensions and some ot them look quite similar to your generator proposal at first glance. The list of extentions is here: http://www.junit.org/news/extension/index.htm The most relevant seem to be: JUnitPerf and JMTUnit . I'm not sure that their l

Re: [classlib] please review my regression test and patch for HttpURLConnection

2006-05-23 Thread Mikhail Loenko
Hi Mark 2006/5/23, Mikhail Loenko <[EMAIL PROTECTED]>: Thanks, Mark! Could you please also review my recent changes in crypto's build.xml? Thanks, Mikhail 2006/5/23, Mark Hindess <[EMAIL PROTECTED]>: > > On 23 May 2006 at 15:54, "Mikhail Loenko" <[EMAIL PROTECTED]> wrote: > > I've created reg

Re: [jira] Commented: (HARMONY-482) Some code compares Strings with == operator

2006-05-23 Thread Mikhail Loenko
it works! :) 2006/5/23, Mikhail Fursov <[EMAIL PROTECTED]>: String post1=new String("POST"); String post2=new String("POST"); :) On 5/23/06, Mikhail Loenko <[EMAIL PROTECTED]> wrote: > > This is the only way I've found to make > two different object instances of "POST" string, such that: > >

Re: [classlib] jetty based tests

2006-05-23 Thread Mikhail Loenko
2006/5/23, George Harley <[EMAIL PROTECTED]>: Mikhail Loenko wrote: > Can jetty send back for example a response consisting of the following > 4 bytes: > > 0x00 0x01 0x02 0x03 > > ? Have you checked ? I'm just asking. I do not state that Best regards, George > > Thanks, > Mikhail > > 200

Re: [classlib] jetty based tests

2006-05-23 Thread George Harley
Mikhail Loenko wrote: Can jetty send back for example a response consisting of the following 4 bytes: 0x00 0x01 0x02 0x03 ? Have you checked ? Best regards, George Thanks, Mikhail 2006/5/23, Paulex Yang <[EMAIL PROTECTED]>: Stepan Mishura wrote: > On 5/23/06, Andrew Zhang wrote: >> >>

Re: [classlib] jetty based tests

2006-05-23 Thread Mikhail Loenko
Can jetty send back for example a response consisting of the following 4 bytes: 0x00 0x01 0x02 0x03 ? Thanks, Mikhail 2006/5/23, Paulex Yang <[EMAIL PROTECTED]>: Stepan Mishura wrote: > On 5/23/06, Andrew Zhang wrote: >> >> Hi, Stepan, >> >> "With mock objects this can be done with no problem

Re: [jira] Commented: (HARMONY-482) Some code compares Strings with == operator

2006-05-23 Thread Mikhail Fursov
String post1=new String("POST"); String post2=new String("POST"); :) On 5/23/06, Mikhail Loenko <[EMAIL PROTECTED]> wrote: This is the only way I've found to make two different object instances of "POST" string, such that: post1.equals("POST"); AND post2.equals("POST"); AND post1!=post2 Fee

Re: [classlib] jetty based tests

2006-05-23 Thread George Harley
Andrew Zhang wrote: Hi, Stepan, "With mock objects this can be done with no problems and HARMONY-164 demonstrates the possible way." Shall we write a mock http server for each case? It takes lots of reduplicate efforts and results in many mock http server classes in the end. In fact, for ma

Re: [jira] Commented: (HARMONY-482) Some code compares Strings with == operator

2006-05-23 Thread Mikhail Loenko
This is the only way I've found to make two different object instances of "POST" string, such that: post1.equals("POST"); AND post2.equals("POST"); AND post1!=post2 Feel free to suggest another way Thanks, Mikhail 2006/5/23, Andrew Zhang <[EMAIL PROTECTED]>: Hi, Mikhail, I found some code lo

Re: [classlib] jetty based tests

2006-05-23 Thread Paulex Yang
Stepan Mishura wrote: On 5/23/06, Andrew Zhang wrote: Hi, Stepan, "With mock objects this can be done with no problems and HARMONY-164 demonstrates the possible way." Shall we write a mock http server for each case? It takes lots of reduplicate efforts and results in many mock http server cl

Re: [classlib] jetty based tests

2006-05-23 Thread George Harley
Stepan Mishura wrote: Hi George, Tim I'd like to clarify the following questions: 1) Configuring As I understood we say that the server is 'embedded' when we can start/stop it within Ant without additional configuration steps. And all we need to do is just download required jars. Right? What

Re: [classlib] jetty based tests

2006-05-23 Thread Andrew Zhang
Hi, Stepan, "No we shouldn't write a mock http server for each case (I mean that we need not implement http protocol each time)." Shall we implement http sometimes? If no, how can we verfiy HttpURLConnection function, for example, whether the request is in http format, or chuncked http request.

Re: [jira] Commented: (HARMONY-482) Some code compares Strings with == operator

2006-05-23 Thread Andrew Zhang
Hi, Mikhail, I found some code looks strange in the patch, such as c.method = pos + t; c.method = ge+ t; Is there any reason to write in such way? Thanks! On 5/22/06, Mikhail Loenko (JIRA) <[EMAIL PROTECTED]> wrote: [ http://issues.apache.org/jira/browse/HARMONY-482?page=comments#action_

Re: [classlib] please review my regression test and patch for HttpURLConnection

2006-05-23 Thread Mikhail Loenko
Thanks, Mark! Could you please also review my recent changes in crypto's build.xml? Thanks, Mikhail 2006/5/23, Mark Hindess <[EMAIL PROTECTED]>: On 23 May 2006 at 15:54, "Mikhail Loenko" <[EMAIL PROTECTED]> wrote: > I've created regression test and patch for > http://issues.apache.org/jira/br

Re: [classlib] please review my regression test and patch for HttpURLConnection

2006-05-23 Thread Mark Hindess
On 23 May 2006 at 15:54, "Mikhail Loenko" <[EMAIL PROTECTED]> wrote: > I've created regression test and patch for > http://issues.apache.org/jira/browse/HARMONY-482 > > I had to make some changes in the luni's build.xml, > that are intended to be fixed once we all agree with > proposed test suite

[classlib] please review my regression test and patch for HttpURLConnection

2006-05-23 Thread Mikhail Loenko
I've created regression test and patch for http://issues.apache.org/jira/browse/HARMONY-482 I had to make some changes in the luni's build.xml, that are intended to be fixed once we all agree with proposed test suite layout. Please review the changes. Thanks, Mikhail --

Re: Repackaged IBM VME

2006-05-23 Thread Oliver Deakin
Jimmy, Jing Lv wrote: Oliver Deakin wrote: Hi all, There is now a repackaged version of the IBM VME available at: https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=ahdk The new VME archives are called Harmony-vme-win.IA32-v3.zip for Windows and Harmony-vme-linux.I

Re: [classlib] jetty based tests

2006-05-23 Thread Stepan Mishura
On 5/23/06, Andrew Zhang wrote: Hi, Stepan, "With mock objects this can be done with no problems and HARMONY-164 demonstrates the possible way." Shall we write a mock http server for each case? It takes lots of reduplicate efforts and results in many mock http server classes in the end. No