Re: Harmony passes all tests of Maven 2.0.4

2006-11-12 Thread Leo Li
Leo Li wrote: Hi, all: Harmony classlib at revision 473150 passes all tests of Maven 2.0.4on windows xp, redhat enterprise 4, unbuntu 6.0.6 and suse 10. As for drlvm, it passes on windows xp but fails on redhat linux enterprise 4. If somebody can reproduce it, I will report

Harmony passes all tests of Maven 2.0.4

2006-11-10 Thread Leo Li
-oriented bug to jira. For detailed information, pls refer to http://wiki.apache.org/harmony/Apache_Maven. -- Leo Li China Software Development Lab, IBM

Re: [general] Sun will take GPL License?

2006-11-08 Thread Leo Li
Is it a good news for Harmony? On 11/9/06, Andrew Zhang [EMAIL PROTECTED] wrote: http://www.crn.com/sections/breakingnews/breakingnews.jhtml;?articleId=193600331 -- Best regards, Andrew Zhang -- Leo Li China Software Development Lab, IBM

Re: [classlib]Harmony classlib with J9 VM passes all the tests provided by JUnit4.1

2006-11-03 Thread Leo Li
cannot be said a formal performance test.:) On 11/3/06, Alexey Varlamov [EMAIL PROTECTED] wrote: 2006/11/3, Alexey Petrenko [EMAIL PROTECTED]: More and more good new from day to day :) Thanks, Leo! SY, Alexey 2006/11/3, Leo Li [EMAIL PROTECTED]: Hi, all I have just tested

Re: [classlib]Harmony classlib with J9 VM passes all the tests provided by JUnit4.1

2006-11-03 Thread Leo Li
of migration with the action to enforce JUnit best practice.:) On 11/4/06, Nathan Beyer [EMAIL PROTECTED] wrote: Assuming we get this functioning, does this mean we can use JUnit 4 testing? -Nathan On 11/3/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all I have just tested JUnit4.1 on Harmony

[classlib]Harmony classlib with J9 VM passes all the tests provided by JUnit4.1

2006-11-02 Thread Leo Li
://wiki.apache.org/harmony/JUnit -- Leo Li China Software Development Lab, IBM

Re: [classlib]Harmony passes 100% testcases of Tomcat5.5

2006-11-01 Thread Leo Li
secs against 5 sec with SUN) then RI. What are your numbers? On 11/1/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all: Harmony now has been able to pass 100% testcases on Tomcat5.5. I ran them both on WindowsXP and Unbuntu, with J9 VM and drlvm. The detailed information about how

Re: [classlib]Harmony passes 100% testcases of Tomcat5.5

2006-11-01 Thread Leo Li
3754ms on RI versus 5740ms on Harmony to startup Tomcat. Seems about 50% slower as well. On 11/1/06, Leo Li [EMAIL PROTECTED] wrote: I have not got the precise number. I will try it.:) On 11/1/06, Mikhail Fursov [EMAIL PROTECTED] wrote: Good news! However I never believe in 100% :) You

Re: [classlib]Harmony passes 100% testcases of Tomcat5.5

2006-11-01 Thread Leo Li
Yes, I have posted it on http://wiki.apache.org/harmony/Apache_Tomcat.:) On 11/1/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Nice! Post it on the wiki? Leo Li wrote: Hi, all: Harmony now has been able to pass 100% testcases on Tomcat5.5. I ran them both on WindowsXP and Unbuntu

[classlib][luni]HttpURLConnection.getRequestProperty(String) and HttpURLConnection.getRequestProperties() should throw IllegalStateException while connected or not?

2006-11-01 Thread Leo Li
not to throw exception in both cases since it will not do harm to get properties for request after connected, I will still follow RI although the manner is a little odd if no one objects. Leo Li China Software Development Lab, IBM

[classlib]Harmony passes 100% testcases of Tomcat5.5

2006-10-31 Thread Leo Li
of the possible side-effect of the latter. mailing thread [1] http://www.mail-archive.com/harmony-dev@incubator.apache.org/msg16002.html -- Leo Li China Software Development Lab, IBM

Re: Harmony passes 94% on derby tests.

2006-10-26 Thread Leo Li
.. Leo Li wrote: 467 Tests Run 94% Pass (443 tests passed) 6% Fail (24 tests failed) 5 Suites skipped The main progress focuses here: 1. Harmony classlib fails to load class when user-defined security policy exists. It is due to the sequence of library loading of VM, which has been

[classlib][sql]Is it RI's bug about java.sql.Timestamp.compareTo

2006-10-26 Thread Leo Li
. The samething happens on java.sql.Date. If no one objects, I will regard it as RI's bug and go on with my patch. -- Leo Li China Software Development Lab, IBM

Re: ant fetch-depends while building DRLVM got error

2006-10-26 Thread Leo Li
, the verson of gcc is 4.0.2. Thanks. He Jin -- Leo Li China Software Development Lab, IBM

Re: [classlib][sql]Is it RI's bug about java.sql.Timestamp.compareTo

2006-10-26 Thread Leo Li
this problem? On 10/27/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all: When fixing jira 1703, I found that at an extreme situation, TimeStamp.compareTo behaves differently from its semantic: the time it represents: Here is the example: public static void main(String[] args

Re: ant fetch-depends while building DRLVM got error

2006-10-26 Thread Leo Li
mechanism with the outerspace resources, since it will be a disaster for manually updated the URL of them to download. On 10/27/06, Leo Li [EMAIL PROTECTED] wrote: It seems that the jar is not at the URL. I will have a look at the ant script.:) On 10/27/06, harmony hla [EMAIL PROTECTED] wrote

Re: [announcement] Apache Board approved Apache Harmony as a Top Level Project of the ASF

2006-10-25 Thread Leo Li
the vote is complete, we'll get to work on the transition activities, but until then, just give yourself a well-deserved pat on the back. Thanks all! geir -- Leo Li China Software Development Lab, IBM

Re: [classlib][General]Problem in plug-in dependencies

2006-10-24 Thread Leo Li
, every thing recovers. So I recommend to make some modification in build script not to have source jar also claim exporting packages. On 10/24/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all: After rebuilt current Harmony classlib, I found several source jars have replaced the binary jar

Harmony passes 94% on derby tests.

2006-10-23 Thread Leo Li
. -- Leo Li China Software Development Lab, IBM

Re: [classlib][luni] java.io.File bug?

2006-10-23 Thread Leo Li
Development Lab, IBM - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: [vote] Graduate Apache Harmony podling from the Incubator

2006-10-20 Thread Leo Li
- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: [classlib][kernel]A bug or non-bug difference?

2006-10-19 Thread Leo Li
] -- Best regards, Andrew Zhang -- Leo Li China Software Development Lab, IBM

Re: [classlib]Harmony passes 73% on Derby.

2006-10-18 Thread Leo Li
this. Regards, Sian On 17/10/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all: I have ran the tests of Derby on Harmony, both on windows xp and ubuntu. The result is similar. On windows, 579 Tests Run 73% Pass (428 tests passed) 27% Fail (151 tests failed

Re: [classlib][archive]Security policy leads to vm crashes in loading class of JarFile

2006-10-18 Thread Leo Li
as below, and the test passed. -throw new MalformedURLException( -org.apache.harmony.luni.util.Msg.getString( -K00d8, spec)); //$NON-NLS-1$ + throw new MalformedURLException(exception message here); Leo Li wrote: Hi

Re: [classlib][archive]Security policy leads to vm crashes in loading class of JarFile

2006-10-18 Thread Leo Li
But there really contains code about launcher in Harmony/luni, and this part is maintained by Harmony classlib but not VM. :) On 10/19/06, Alexey Varlamov [EMAIL PROTECTED] wrote: 2006/10/19, Leo Li [EMAIL PROTECTED]: It is quite a dilemma: VM is free to choose the strategy of loading

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-17 Thread Leo Li
/drlvm/build/make/setup.xml:442: Warning: Could not find file /root/workspaces/workspace/drlvm/build/make/no_settings_in_config_or_environment to copy. How can I do with it? Thanks. On 10/17/06, Alexey Varlamov [EMAIL PROTECTED] wrote: 2006/10/16, Leo Li [EMAIL PROTECTED]: It seems not quite

Re: [classlib][luni][charset]Strange behavior of UnicodeBig

2006-10-17 Thread Leo Li
] -- Leo Li China Software Development Lab, IBM

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-17 Thread Leo Li
location specified. Please ensure you provide correct (better absolute) path in build\drlvm.properties (if you use it) or external.dep.CLASSLIB.loc property value in cmdline: sh build.sh -Dexternal.dep.CLASSLIB.loc=$classlib This should point to the root of (pre-)built classlib WS. 2006/10/17, Leo Li

Re: [classlib]Harmony passes 73% on Derby.

2006-10-17 Thread Leo Li
) this is a good candidate for JIT bug On 10/17/06, Leo Li [EMAIL PROTECTED] wrote: Hi, The result of Derby is not so obvious, since its test is not junit but some a serial of stand-alone java program calling each other. And the comparing result is a pre-stored data file. So I have to use

[classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Leo Li
it is the accepted way to solve the problem. I will try whether it can be reproduced on drlvm of linux since I am not sure whether it is relevent to VM or classlib. If any drlvm man can tell me the result, it can avoid my trouble to build it on linux. :) -- Leo Li China Software Development Lab

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Leo Li
...). I never figured out why Unbuntu does this, but it seemed that under memory stress, Ubuntu's fork() fails. Try this - close Eclipse and run the test again... geir Leo Li wrote: Thank you. I have just run it on drlvm of unbuntu, it works. What a qurious problem! On 10/16/06, Alexey

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Leo Li
report this on Ubuntu? I have had similar forking problems on Ubuntu 6 (I once found a bug in classlib related to forking...). I never figured out why Unbuntu does this, but it seemed that under memory stress, Ubuntu's fork() fails. Try this - close Eclipse and run the test again... geir Leo Li

Re: [classlib]Self-host of Derby

2006-10-16 Thread Leo Li
the application's support team for more information. * Has anybody ever met the same problem? Leo Li wrote: Hi, all: I now plan to make the self-host of Derby on Harmony. Is there anyone interested in this topic? Here is what I encountered in the process. Hope it will be helpful to anybody who

[classlib]Harmony passes 73% on Derby.

2006-10-16 Thread Leo Li
Hi, all: I have ran the tests of Derby on Harmony, both on windows xp and ubuntu. The result is similar. On windows, 579 Tests Run 73% Pass (428 tests passed) 27% Fail (151 tests failed) 9 Suites skipped On linux, 579 Tests Run 74% Pass (430 tests passed) 26% Fail (149 tests failed) 9 Suites

Re: [classlib]Harmony passes 73% on Derby.

2006-10-16 Thread Leo Li
unexpected NPEs? On 10/16/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all: I have ran the tests of Derby on Harmony, both on windows xp and ubuntu. The result is similar. On windows, 579 Tests Run 73% Pass (428 tests passed) 27% Fail (151 tests failed) 9 Suites

Re: [build] build failed with latest harmony classlib

2006-10-16 Thread Leo Li
://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Andrew Zhang -- Leo Li China Software Development Lab, IBM

Re: [build] build failed with latest harmony classlib

2006-10-16 Thread Leo Li
of eclipse compiler.:) On 10/17/06, Nathan Beyer [EMAIL PROTECTED] wrote: On 10/16/06, Leo Li [EMAIL PROTECTED] wrote: Seems we use a new compiler today.:) The first problem Andrew encountered is quite like the unresolved dependency in eclipse's compiler option which is manually set off by us

Re: [announce] New Apache Harmony Committers : Oliver Deakin, Richard Liang, Alexey Petrenko, Gregory Shimansky, Alexey Varlamov, Alexei Zakharov

2006-10-16 Thread Leo Li
. The Apache Harmony PPMC - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab

Re: [classlib][archive]Security policy leads to vm crashes in loading class of JarFile

2006-10-15 Thread Leo Li
Ok. I will call it runing Derby on Harmony.:) On 10/14/06, Tim Ellison [EMAIL PROTECTED] wrote: Leo Li wrote: During the self-hosting of Derby... Minor nit, but as Sian pointed out before we would usually reserve 'self-hosting' to mean using Harmony in development of the project itself, i.e

Re: [classlib]Self-host of Derby

2006-10-13 Thread Leo Li
On 10/13/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Derby has VM-specific features? No. Seems the VM has some special bug... Leo Li wrote: Hi, Sian: After some study, I found that it is necessary to treat j9 seperately,mmm about security and vm library loader. I have not spot

[classlib][archive]Security policy leads to vm crashes in loading class of JarFile

2006-10-13 Thread Leo Li
. -- Leo Li China Software Development Lab, IBM

Re: [classlib][archive]Security policy leads to vm crashes in loading class of JarFile

2006-10-13 Thread Leo Li
Sorry forget the security policy file. And I add it as the attachment. On 10/13/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all: During the self-hosting of Derby, I found a security policy if is applied will lead toerrors in loading the class of JarFile. IBM vm willthrow java/lang

Re: [classlib]Self-host of Derby

2006-10-13 Thread Leo Li
our own support class. Regards, Sian On 13/10/06, Leo Li [EMAIL PROTECTED] wrote: Hi, Sian: After some study, I found that it is necessary to treat j9 seperately,mmm about security and vm library loader. I have not spot the precise place. I think we have first to get a wrapper

Re: [classlib]Self-host of Derby

2006-10-12 Thread Leo Li
(!hythread_is_suspend_enabled()); ensure_capacity(); nodes-elements[nodes-obj_size+nodes-mp_size] = nodes-elements[nodes-obj_size]; nodes-elements[nodes-obj_size] = (void**)p; nodes-obj_size++; } On 12 Oct 2006 11:55:27 +0700, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x200 day of Apache Harmony Leo Li

Re: [classlib]Self-host of Derby

2006-10-12 Thread Leo Li
Ok.:) On 12 Oct 2006 13:38:34 +0700, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x200 day of Apache Harmony Leo Li wrote: Hi, Egor: I have tried to run it on drlvm, but it reported error: Assertion failed! Progrma: ...java.exe File:Object_handles.cpp

Re: [classlib]Self-host of Derby

2006-10-12 Thread Leo Li
Posted as *HARMONY-1836* http://issues.apache.org/jira/browse/HARMONY-1836 . On 10/12/06, Leo Li [EMAIL PROTECTED] wrote: Ok.:) On 12 Oct 2006 13:38:34 +0700, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x200 day of Apache Harmony Leo Li wrote: Hi, Egor: I have tried to run

Re: Hello everyone

2006-10-12 Thread Leo Li
://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: [classlib]Self-host of Derby

2006-10-12 Thread Leo Li
On 10/12/06, Nathan Beyer [EMAIL PROTECTED] wrote: On 10/11/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all: I now plan to make the self-host of Derby on Harmony. Is there anyone interested in this topic? Here is what I encountered in the process. Hope it will be helpful

Re: [classlib][launcher]shall we handle the parameter -version and -showversion in launcher or vm?

2006-10-12 Thread Leo Li
On 10/13/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Tim Ellison wrote: Leo Li wrote: Due to current VMI, we have to first create a java VM through JNI_CreateJavaVM, then we can get property from functions defined by VMI. It is possible not to change current vmi design and support

Re: [classlib]Self-host of Derby

2006-10-12 Thread Leo Li
binary might fail, I am not sure, due to the sorting of locale. But not the Error.:) On 12 Oct 2006 16:57:06 +0700, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x200 day of Apache Harmony Leo Li wrote: Posted as *HARMONY-1836* http://issues.apache.org/jira/browse/HARMONY-1836 . Thanks

Re: [classlib]Self-host of Derby

2006-10-12 Thread Leo Li
this kind of thing to the mailing list in future if that's more likely to be found. Regards, Sian On 12/10/06, Leo Li [EMAIL PROTECTED] wrote: Hi, all: I now plan to make the self-host of Derby on Harmony. Is there anyone interested in this topic? Here is what I encountered

[classlib]Self-host of Derby

2006-10-11 Thread Leo Li
if the property java.vm.name starts with j9. But the j9 vm used in Harmony has been customized thus is different from traditional j9 vm that is expected by derby. This leads to failure to launch tests. I will talk on Derby's mailing list to find a solution. -- Leo Li China Software Development Lab, IBM

Re: [build] DRLVM build on Windows

2006-10-10 Thread Leo Li
] -- Leo Li China Software Development Lab, IBM

Re: [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and recommend to add them to fetch-depends target

2006-10-10 Thread Leo Li
Hi, Gregory: On 10/11/06, Gregory Shimansky [EMAIL PROTECTED] wrote: On Sunday 08 October 2006 12:39 Leo Li wrote: Hi, all Current harmony build script on linux requires liblcms.a libpng.aand several .h files such as png.h but not installed on my redhat linux platform. Although

[classlib][build]Lacks liblcms.a libpng.a and etc on Linux and recommend to add them to fetch-depends target

2006-10-08 Thread Leo Li
these required files automatically when they are absent. -- Leo Li China Software Development Lab, IBM

[classlib][math]BigInteger should have an unexpected protected clone() method

2006-10-08 Thread Leo Li
immutable in BigInteger's other methods, I recommend to rename the method not so sensitivly as Clone. If no one objects, I will raise a jira and create a patch for it. -- Leo Li China Software Development Lab, IBM

Re: [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and recommend to add them to fetch-depends target

2006-10-08 Thread Leo Li
Hi, Mark: First I downloaded and installed the rpms for openpkg, png, jpeg, tiff, lcms because of the dependency relationship between them. Secondly, the installed files are in /openpkg, so I then copy the .a and .h files to /usr/lib and /usr/include. If I can find the .a or .h file,

Re: [classlib][build]Lacks liblcms.a libpng.a and etc on Linux and recommend to add them to fetch-depends target

2006-10-08 Thread Leo Li
to provide such required files if possbile. On 10/8/06, Alexey Petrenko [EMAIL PROTECTED] wrote: Have you also installed developer versions of these rpms? 2006/10/8, Leo Li [EMAIL PROTECTED]: Hi, Mark: First I downloaded and installed the rpms for openpkg, png, jpeg, tiff, lcms because

Re: [classlib][doc]Recommend to remove trunk\doc\kernel_doc and trunk\doc\vm_doc from svn repository.

2006-09-30 Thread Leo Li
: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

[classlib][luni]Double.toString gets different result from RI

2006-09-29 Thread Leo Li
toString() result which represents different original number before mapping. Thus it can be regarded as a non-bug difference between RI and Harmony and I recommend to remove the testcase. Result RI: Pass HR: Fail -- Leo Li China Software Development Lab, IBM

[classlib][doc]Recommend to remove trunk\doc\kernel_doc and trunk\doc\vm_doc from svn repository.

2006-09-28 Thread Leo Li
of trunk\doc\kernel_doc and trunk\doc\vm_doc can be generated accordingly, I recommend to remove them from svn control as the doc of classlib does. -- Leo Li China Software Development Lab, IBM

Re: [classlib][launcher] I am looking at the interaction between {classlib, launcher, drlvm} and {hysock, hysig, hythread}

2006-09-26 Thread Leo Li
-- Weldon Washburn Intel Middleware Products Division -- Weldon Washburn Intel Middleware Products Division -- Leo Li China Software Development Lab, IBM

Re: [classlib][launcher] I am looking at the interaction between {classlib, launcher, drlvm} and {hysock, hysig, hythread}

2006-09-26 Thread Leo Li
Hi, Weldon: If you have a built Harmony classlib, you can find the doc in HarmonyRoot/doc/vm_doc/html/group__Port.html or other htmls in the directory. On 9/27/06, Weldon Washburn [EMAIL PROTECTED] wrote: On 9/26/06, Leo Li [EMAIL PROTECTED] wrote: Hi, Weldon: The usage

[classlib][luni]To open warning as error on Linux

2006-09-25 Thread Leo Li
on GCC4.0.3 of my colleague's ubuntu if I set warning as error on. Although I can fix it on GCC4.0.3, what about other versions? So my question is whether we have our default or reference version of GCC?:) -- Leo Li China Software Development Lab, IBM

Re: [classlib][luni]To open warning as error on Linux

2006-09-25 Thread Leo Li
: If this is a potential build problem do we really need to set this option? 2006/9/25, Leo Li [EMAIL PROTECTED]: Hi, all I plan to give a patch that fixed all warning in native code of luni on Linux and then set Werror in luni makefile. But now I have a problem: Different versions

Re: [classlib][luni]To open warning as error on Linux

2006-09-25 Thread Leo Li
on either version of GCC. -- Ivan On 9/25/06, Alexey Petrenko [EMAIL PROTECTED] wrote: If this is a potential build problem do we really need to set this option? 2006/9/25, Leo Li [EMAIL PROTECTED]: Hi, all I plan to give a patch that fixed all warning in native code of luni on Linux

Re: [classlib]build failed on windows

2006-09-21 Thread Leo Li
Hi, Paulex: I plan to fix the warning in module luni first if no one objects.:) On 9/21/06, Paulex Yang [EMAIL PROTECTED] wrote: Leo Li wrote: Dear Geir: I advise to use -Werror in Linux compiling but I am not sure of the side-effect. I am now trying to know whether all

Re: [classlib][luni] Put setInterruptAction() in our j.l.Thread stub?

2006-09-21 Thread Leo Li
] - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

[classlib]build failed on windows

2006-09-20 Thread Leo Li
i=0; at line 1067:int strLen 2. comments out unused variable at line 1019: //UDATA newPathLength; -- Leo Li China Software Development Lab, IBM

Re: [classlib]build failed on windows

2006-09-20 Thread Leo Li
this? If that diff works for you, or anyone, I'll apply it. -Nathan -Original Message- From: Leo Li [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 8:36 PM To: harmony-dev@incubator.apache.org Subject: [classlib]build failed on windows Hi, all I found that the classlib build

Re: [classlib]build failed on windows

2006-09-20 Thread Leo Li
Dear Nathan: It works. (I manually adjust the difference according to your patch.) :) Good luck! On 9/21/06, Leo Li [EMAIL PROTECTED] wrote: Dear Nathan: I cannot apply it to main.c or module luni. (I guess it is due to the path of the patch, I am not sure

Re: [classlib]build failed on windows

2006-09-20 Thread Leo Li
to make gcc on linux enforce the same... geir On Sep 20, 2006, at 9:36 PM, Leo Li wrote: Hi, all I found that the classlib build fails on windows today. I have tried to fixed it in File main.c 1. move some declarations of variables to the top part of a function

Re: [classlib][build] failure?

2006-09-20 Thread Leo Li
at 10:03, Leo Li [EMAIL PROTECTED] wrote: Hi, all: Since I am not an expert of gcc, I think we need a guru to set the flags in makefile of linux: 1. It will report any required warnings and regard it as error to lead a failure build so that it is forced for us to correct it. 2

Re: [classlib][build] failure?

2006-09-19 Thread Leo Li
The warning level is set to level 3 on windows, I mean. On 9/19/06, Leo Li [EMAIL PROTECTED] wrote: Hi, Geir: The warning level is set to level 3 while the warning as error option is off in linux. Actually, I would like to set it on in linux since it will help me to pick some error out

Re: [classlib][build] failure?

2006-09-19 Thread Leo Li
. Regards, Mark. On 19 September 2006 at 4:46, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: There is no way to get rid of the warnings in our codebase on linux? geir On Sep 19, 2006, at 4:03 AM, Leo Li wrote: Hi, Geir: The warning level is set to level 3 while the warning as error

Re: [General VM] GC strategy:how to garbage collect short-lived objects quickly.

2006-09-18 Thread Leo Li
Hi, Weldon: Thank you. I can read the code:) Good luck! On 9/16/06, Weldon Washburn [EMAIL PROTECTED] wrote: On 9/14/06, Leo Li [EMAIL PROTECTED] wrote: Hi, Xiao-Feng: It will be great if VM can adjust its strategy adaptively. However, as a programmer, I would like to have some

Re: [classlib][build] failure?

2006-09-18 Thread Leo Li
regards -- Spark Shen China Software Development Lab, IBM - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo

[classlib][luni][HashMap]Avoid to expand data array in HashMap.putAll more than once.

2006-09-17 Thread Leo Li
to be avoided, since we actually know the size of the added Map, thus the expected HashMap capacity. If no one objects, I will add an expected capacity argument in internal rehash() method as rehash(int expectedCapacity) and rewrite the HashMap.putAll(). Good luck! -- Leo Li China Software

Re: [General VM] GC strategy:how to garbage collect short-lived objects quickly.

2006-09-14 Thread Leo Li
Hi,Egor: On 14 Sep 2006 12:30:49 +0700, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x1E4 day of Apache Harmony Leo Li wrote: Hi,all: As we all know, java objects are allocated on heap instead of stack, thus there is a problem about how to garbage collect short-lived objects quickly

Re: [General VM] GC strategy:how to garbage collect short-lived objects quickly.

2006-09-14 Thread Leo Li
) be variable, so that the frequency of GC is variable accordingly. Thanks, xiaofeng On 9/14/06, Leo Li [EMAIL PROTECTED] wrote: Dear Xiao-Feng: Thank you for your advice. I would like generational GC, but what I worry about whether it is preferrable to let GC start even if there is free

[General VM] GC strategy:how to garbage collect short-lived objects quickly.

2006-09-13 Thread Leo Li
the java heap so as to force gc frequently as a workround, is it preferrable to collect short-lived objects quickly such as adopt aged-related object queues as one of the gc strategy? What about the VMs here, drlvm or J9? Leo Li China Software Development Lab, IBM

Re: [classlib]volunteer to supply patches for old JIRAs

2006-09-12 Thread Leo Li
PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: New IBM VME available soon

2006-08-22 Thread Leo Li
Hi, On 8/21/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Oliver Deakin wrote: Leo Li wrote: Hi, Oli: It is really a problem that System.getenv fails to behave as RI on windows. I will fix it by get env string out by os function such as getenvironmentvariable and getenv. Thank you

Re: [classlib][luni] Suspicious behavior of java.util.EnumSet

2006-08-21 Thread Leo Li
since it says it may or may not show the effects of any modifications to the set that occur while the iteration is in progress. On 8/21/06, Spark Shen [EMAIL PROTECTED] wrote: Leo Li 写道: Hi, Spark: Yes, I think it is RI's bug. But It should throw ConcurrentModificationException as spec says

Re: [classlib][luni] Suspicious behavior of java.util.EnumSet

2006-08-21 Thread Leo Li
In my opinion, it is just RI' s implementation and it is up to you as a developer to make the choice.:) On 8/21/06, Spark Shen [EMAIL PROTECTED] wrote: Leo Li 写道: If so, we cannot regard it as RI's bug. And I believe the size of 64 and the existence of the deleted element depends on RI's

Re: [classlib][luni] Suspicious behavior of java.util.EnumSet

2006-08-20 Thread Leo Li
- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: [classlib][instrument]Using Support_Exec framework(was Re: [classlib][Instrument] Documents for non-unit-tests)

2006-08-17 Thread Leo Li
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: New IBM VME available soon

2006-08-15 Thread Leo Li
application, for example, the command windows, and remains the same during the life cycle. :) Thank you, Oli. Good luck! -- Leo Li China Software Development Lab, IBM

Re: [classlib][instrument]Method to terminate VM.

2006-08-13 Thread Leo Li
and ... maybe even help? geir Jimmy, Jing Lv wrote: Leo Li wrote: Hi, all During the implementaion of instrument, I encounter the choice about how to terminate the VM when some abnormal event occurs, for example, the expected jar file does not exist or the implementation class of Instrumentation

Re: New IBM VME available soon

2006-08-08 Thread Leo Li
- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: [classlib][Instrument] Documents for non-unit-tests (was Re:[classlib] Plan on work on java.lang.instrument)

2006-08-07 Thread Leo Li
] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: [classlib] Intention to work on java.lang.instrument

2006-08-01 Thread Leo Li
On 8/1/06, Gregory Shimansky [EMAIL PROTECTED] wrote: On Tuesday 01 August 2006 09:47 Leo Li wrote: I agree with this approach. Do you know which API functions and events you will need for such agent? Hi, we will need VM Initialization Event to run premain functions and Class File Load

Re: [classlib] Intention to work on java.lang.instrument

2006-07-31 Thread Leo Li
, IBM - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Leo Li China Software Development Lab, IBM

Re: [classlib] Intention to work on java.lang.instrument

2006-07-31 Thread Leo Li
Shimansky, Intel Middleware Products Division -- Leo Li China Software Development Lab, IBM

Re: [classLib]Given a long value, RI behaves differently on windows and linux (and TestNG?)

2006-07-25 Thread Leo Li
to throw some exception in java code if encountering the data longer than 32-bits. Besides, whether we should behaves the same as RI, even if it is different on different platforms? :) -- Leo Li China Software Development Lab, IBM

Re: [classlib][nio][discussion] Implementation of java.nio.channels.spi.SelectorProvider.inheritedChannel()

2006-07-24 Thread Leo Li
because it can be used to send data in Java as well, such as using System.out.println(XXX) to send XXX to a client socket; but the inheritedChannel on windows is always NULL. Good luck! -- Leo Li China Software Development Lab, IBM

Re: [classlib][nio][discussion] Implementation of java.nio.channels.spi.SelectorProvider.inheritedChannel()

2006-07-23 Thread Leo Li
a ServerSocketChannel. -- Leo Li China Software Development Lab, IBM