Re: [Vote] Move Apache Harmony to the Attic

2011-11-02 Thread Ray Chen
ove Harmony to the Attic > > >>> [ 0] Don't care > > >>> [-1] Don't move Harmony to the Attic. > > >>> > > >>> The vote will be open for at least 72 hours. > > >>> > > >>> Thanks, > > >>> Tim > > >> > > >> > > > > > > Publish your photos in seconds for FREE > > TRY IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if4 > > > > > > > Thanks > --Melan > -- http://about.me/clraychen Regards, Ray Chen

Re: [Vote] Move Apache Harmony to the Attic

2011-10-31 Thread Ray Chen
l be open for at least 72 hours. > > Thanks, > Tim > -- http://about.me/clraychen Regards, Ray Chen

Re: [classlib][nio] JDK 7 / WatchService support

2011-02-26 Thread Ray Chen
t; should be easy to change to fit into Harmony. > > jpathwatch uses native libraries (implementing very thin wrappers around > > native OS functions), these will have to be integrated as well, which I > > think should also be quite trivial. > > > > Please let me know if there's interest in such a donation. > > > > Cheers, > > > > Uwe > > > > P.S.: Hope you don't mind the sneakemail address, I'm spam paranoid ;) > > > > -- > > Best Regards! > > Jimmy, Jing Lv > -- Regards, Ray Chen

Re: [jira] Updated: (HARMONY-6682) SocketOutputStream doesn't handle short writes properly

2011-02-26 Thread Ray Chen
l writing fails. > > The same issue is reported to Android at > https://review.source.android.com/21459. > > -- > This message is automatically generated by JIRA. > - > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > -- Regards, Ray Chen

Re: Next milestones: 5.0M16 and 6.0M4

2011-01-19 Thread Ray Chen
/harmony/roadmap > > We should definitely make an effort to fix: > > https://issues.apache.org/jira/browse/HARMONY-6419 > > I will have less time to assist with the release this time around so it > would be good to have a volunteer to be the release manager for these > milestones. > > Regards, > Mark. > > > -- Regards, Ray Chen

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-17 Thread Ray Chen
Hi Tim, Sorry, I am very busy these days. Currently, we still have some JDWP test failures. Do they stop us to publish a new level? If no, what process, we should follow? Thanks! On Tue, Dec 14, 2010 at 12:18 AM, Tim Ellison wrote: > On 13/Dec/2010 15:49, Ray Chen wrote: > > Hmmm...

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-13 Thread Ray Chen
Hi Tim, I think I understand now, we should fix it before the code freeze. Currently, let's just move the target out to a later date. On Tue, Dec 14, 2010 at 12:18 AM, Tim Ellison wrote: > On 13/Dec/2010 15:49, Ray Chen wrote: > > Hmmm... OK, let's deferring that to the nex

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-13 Thread Ray Chen
Hmmm... OK, let's deferring that to the next milestone. On Mon, Dec 13, 2010 at 11:45 PM, Tim Ellison wrote: > On 13/Dec/2010 15:40, Ray Chen wrote: > > FYI. > > This defect should be fixed in this milestone, see > > http://s.apache.org/harmony/roadmap mentioned by Mar

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-13 Thread Ray Chen
Hi Tim, FYI. This defect should be fixed in this milestone, see http://s.apache.org/harmony/roadmap mentioned by Mark On Mon, Dec 13, 2010 at 7:37 PM, Tim Ellison wrote: > On 13/Dec/2010 08:23, Ray Chen wrote: > > Hi Comitters, > > I have reviewed https://issues.apache.org/jira

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-13 Thread Ray Chen
wse/HARMONY-6419 > > I will have less time to assist with the release this time around so it > would be good to have a volunteer to be the release manager for these > milestones. > > Regards, > Mark. > > > -- Regards, Ray Chen

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-08 Thread Ray Chen
org.apache.harmony.luni.tests.java.net.InetAddressTest crashed > > > > After re-ran them independently, InetAddressTest can pass some time > > but > org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLj > > ava_net_NetworkInterfaceII > > failed intermittently. > > java.awt.event.MouseEventTest.testHarmony5215 throws NPE every time. > > > > I will give the java6 test results later. > > > > > -- Regards, Ray Chen

Fwd: Build failed in Hudson: Harmony-1.5-head-linux-x86_64 #1012

2010-12-08 Thread Ray Chen
(UNIXProcess.java:164) at java.lang.ProcessImpl.start(ProcessImpl.java:81) at java.lang.ProcessBuilder.start(ProcessBuilder.java:468) ... 15 more [FINDBUGS] Skipping publisher since build result is FAILURE Archiving artifacts Recording test results Recording fingerprints -- Regards, Ray Chen

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-08 Thread Ray Chen
Hi Tim, For https://issues.apache.org/jira/browse/HARMONY-6419, I have applied it and run the test, seems it works well and no regression. I think it should be committed. Any comments? On Tue, Dec 7, 2010 at 6:48 PM, Tim Ellison wrote: > On 06/Dec/2010 15:31, Ray Chen wrote: > >

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-07 Thread Ray Chen
OK. Code Freeze 10th December Publish 17th December On Tue, Dec 7, 2010 at 6:48 PM, Tim Ellison wrote: > On 06/Dec/2010 15:31, Ray Chen wrote: > > Sure, I propose the following dates: > > > > Feature Freeze Wed 15th December > > Code Freeze Wed 22nd Decemb

Re: Next milestones: 5.0M16 and 6.0M4

2010-12-06 Thread Ray Chen
review it? Let's make new milstones for the coming New Year! :) On Mon, Dec 6, 2010 at 6:22 PM, Tim Ellison wrote: > On 30/Nov/2010 13:55, Ray Chen wrote: > > Hmmm... Ok, I think it will take some time to understand these for some > time. > > Maybe we should put this mil

Re: Next milestones: 5.0M16 and 6.0M4

2010-11-30 Thread Ray Chen
Hmmm... Ok, I think it will take some time to understand these for some time. Maybe we should put this milestone off for serveral days before I understand all the process. On Tue, Nov 30, 2010 at 5:38 PM, Mark Hindess wrote: > > In message , > Ray Chen writes: >> >> Hi

Re: Next milestones: 5.0M16 and 6.0M4

2010-11-29 Thread Ray Chen
h one has problems > when optimized but haven't had time to do this yet.  For now I guess > we should just disable optimization for the jdwp module. > > Regards, >  Mark. > > In message , > Ray Chen writes: >> >> I have r

Re: Next milestones: 5.0M16 and 6.0M4

2010-11-29 Thread Ray Chen
I have run test tests of trunk on linux platform: I got 10 test failures and 2 test errors failures: java.awt.AccessibleAWTWindowTest.testGetAccessibleStateSet javax.swing.JComponent_MultithreadedTest.testRequestFocusInWindowboolean javax.swing.JComponent_MultithreadedTest.testRevalidate javax.swi

Re: Next milestones: 5.0M16 and 6.0M4

2010-11-23 Thread Ray Chen
We should definitely make an effort to fix: > >  https://issues.apache.org/jira/browse/HARMONY-6419 > > I will have less time to assist with the release this time around so it > would be good to have a volunteer to be the release manager for these > milestones. > > Regards, >  Mark. > > > -- Regards, Ray Chen

Re: Next milestones: 5.0M16 and 6.0M4

2010-11-23 Thread Ray Chen
to have sufficient oversight for >> a release? >> >> Regards, >>  Mark. >> >> >> > > > > -- > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > -- Regards, Ray Chen

Re: [announce] Regis Xu joins Harmony PMC

2010-09-19 Thread Ray Chen
th official oversight for the procedural, legal, > release and community oversight.  Regis has demonstrated his > capabilities and alignment with the goals of the project over a > sustained period of time. > > Please join me in congratulating Regis, and welcoming him on behalf of > the PMC. > -- Regards, Ray Chen

Re: [milestone] Proposed next milestone plans

2010-09-03 Thread Ray Chen
[Hello World]> but was:<[�]> > at > org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface(MulticastSocketTest.java:429) > > I think these are the best test results for any milestone I've had on my > machine. > > Cath > -- Regards, Ray Chen

Re: [classlib][annotation]Add annotation processing APIs to Harmony 6

2010-08-10 Thread Ray Chen
t;       Any comments or suggestions? > > [1]http://people.apache.org/~hindessm/japi/sun60-hydrlvm60.html > -- > > Best Regards! > > Jimmy, Jing Lv > -- Regards, Ray Chen

Re: Security Performance issue

2010-07-21 Thread Ray Chen
nyJSSEtakes 0 ms init services of HarmonyJSSEtakes 1 ms init BCtakes 204 ms init services of BCtakes 11 ms On Thu, Jul 22, 2010 at 2:01 PM, Regis wrote: > On 2010-07-22 13:07, Ray Chen wrote: >> >> Hi All, >> I found that our security implementation is much slower than RI'

Security Performance issue

2010-07-21 Thread Ray Chen
s(); MessageDigest.getInstance("SHA-1"); System.out.println(System.currentTimeMillis() - start); } -- Regards, Ray Chen

Re: [jira] Updated: (HARMONY-6584) [classlib][nio]SocketChannel should throw AsynchronousCloseException if the channel is closed in another thread

2010-07-15 Thread Ray Chen
On 07/15/2010 02:38 PM, Shi Jun Zhang (JIRA) wrote: [ https://issues.apache.org/jira/browse/HARMONY-6584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jun Zhang updated HARMONY-6584: --- Attachment: HARMONY-6584.diff The pa

Re: svn commit: r953015 - in /harmony/enhanced/java/trunk/classlib/modules/luni/src: main/java/java/net/NetworkInterface.java test/api/common/org/apache/harmony/luni/tests/java/net/NetworkInterfaceTes

2010-06-10 Thread Ray Chen
On 06/10/2010 01:26 AM, Mark Hindess wrote: In message<4c0fbf28.3000...@gmail.com>, Tim Ellison writes: I've not benched it but this looks like a reasonable amount of code to run each time the hostname is checked against this permission. Maybe not too bad for getting these addresses from th

Re: Can I only build/clean/rebuild native code?

2010-06-06 Thread Ray Chen
On 06/07/2010 11:17 AM, Regis wrote: Sometimes, I only work with native code, check and compile java is not necessary. But in new build structure, build-native, rebuild-native and clean-native are not public target anymore, and I can't find any equivalent targets can do this, anyone can tell

Re: [Proposal] Harmony Select Milestone One

2010-05-27 Thread Ray Chen
;>> On Tue, May 25, 2010 at 11:34 AM, Jimmy,Jing Lv < >> firep...@gmail.com> >> >>>>>> wrote: >> >>>>>>>> Hi Everyone, >> >>>>>>>> >> >>>>>>>>      We are very close to publish Harmony5 M14 and Harmony6 M2, >> what >> >>>>>> great >> >>>>>>>> achievements since we created Harmony project! >> >>>>>>>> >> >>>>>>>>      Now we may think about something different, satisfy more >> >>>>>> requirements. >> >>>>>>>> Different application requirement need different JRE - it may >> differ >> >>>>>> very >> >>>>>>>> much in class-lib modules, providers, and VMs.  Harmony select, >> say, a >> >>>>>>>> smaller, more flexible harmony runtime, may be a good candidate in >> such >> >>>>>>>> environments. We may not follow Oracle/Sun exactly in this >> runtime, >> >>>>>> allow >> >>>>>>>> more innovations, different modules selections,  and different >> >>>>>>>> functionalities to meet different requirements. We may also call >> for >> >>>>>> more >> >>>>>>>> input from real Java applications, developers, especially hot >> >>>>>> open-source >> >>>>>>>> projects who are the potential customers of Harmony. >> >>>>>>>> >> >>>>>>>>      We've already created an initial target in Harmony to build a >> >>>>>> Select >> >>>>>>>> binary. We remove some client-side related modules (like AWT, >> swing etc) >> >>>>>> to >> >>>>>>>> reduce the size while keep the main functionality for server side >> >>>>>>>> applications. This is a startup, very far from the finial >> versions. >> >>>>>> However >> >>>>>>>> I believe we can start some milestones with defined criterion like >> >>>>>> standard >> >>>>>>>> Harmony. >> >>>>>>>> >> >>>>>>>>      For the first milestone of Harmony-Select, I suggest we'd >> have >> >>>>>>>> following criterion: >> >>>>>>>> 1. build pass on both windows/linux platforms; >> >>>>>>>> 2. pass all Harmony unit testcases in the selected module on these >> >>>>>>>> platforms; >> >>>>>>>> 3. Choose Apache Hadoop as a real Application test, pass its >> common test >> >>>>>> on >> >>>>>>>> these platforms for the first milestone. >> >>>>>>>> >> >>>>>>>>      Wait for any kindly suggestions, opinions and comments. >> >>>>>>>> >> >>>>>>>> -- >> >>>>>>>> >> >>>>>>>> Best Regards! >> >>>>>>>> >> >>>>>>>> Jimmy, Jing Lv >> >>>>>>>> >> >>>>> >> >>>>> -- >> >>>>> >> >>>>> Best Regards! >> >>>>> >> >>>>> Jimmy, Jing Lv >> >>>>> China Software Development Lab, IBM >> >>>>> >> >> >> > >> > > > > -- > > Best Regards! > > Jimmy, Jing Lv > China Software Development Lab, IBM > -- Regards, Ray Chen

Re: [vote] Declare r946981 as 6.0 milestone 2

2010-05-27 Thread Ray Chen
OK, thanks. So +1 for me. On Thu, May 27, 2010 at 5:31 PM, Mark Hindess wrote: > > In message , > Ray Chen writes: >> >> Built and tested on Linux/x86, following test failed. >> >> org.apache.harmony.jpda.tests.jdwp.Events.ClassPrepareT

Re: [vote] Declare r946981 as 6.0 milestone 2

2010-05-27 Thread Ray Chen
ill be > made available on the download page, as usual. > > Regards, >  Mark. > > > -- Regards, Ray Chen

Re: [general] Add a new target for Harmony-Select in the build script

2010-04-09 Thread Ray Chen
the >> build >> scripts. It seems it does no harm to any other normal build. After that, >> we >> can simply invoke: >> \>  ant build-select >>      to get a select build under deploy-select/ >> >>      Any comments/suggestions? I'll commit a patch to the build scripts if >> there is objection. >> > > > -- > Best Regards, > Regis. > -- Regards, Ray Chen

About the JIRA6375

2010-03-04 Thread Ray Chen
Hi All, Any comments about JIRA6375[1]? [1]https://issues.apache.org/jira/browse/HARMONY-6375 -- Regards, Ray Chen

Re: [vote] Declare r917296 as 6.0 Milestone 1

2010-03-03 Thread Ray Chen
e artifacts will be > made available on the download page. > > Regards, >  Mark. > > > -- Regards, Ray Chen

Re: [vote] Declare r916432 as 5.0 Milestone 13

2010-03-02 Thread Ray Chen
ary builds from these artifacts will be > made available on the download page, as usual. > > Regards, >  Mark. > > > -- Regards, Ray Chen

Re: [6.0M1] tests on linux/x86 (was [5.0M13] test results on linux/x86)

2010-02-24 Thread Ray Chen
, 2010 at 10:22 AM, Ray Chen wrote: > Hi, > I see > org.apache.harmony.auth.tests.javax.security.auth.kerberos.KerberosTicketTest > org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ReleaseEventsTest > failed with timeout error > > org.apache.harmony.luni.tests.java.net.Multi

Re: [6.0M1] tests on linux/x86 (was [5.0M13] test results on linux/x86)

2010-02-24 Thread Ray Chen
that the JDWP tests seem less stable[0] and the java6-only > tests: > >  UnixFileTest.test_get*Space > > are unstable on a busy machine (perhaps they should require less > accuracy)? > >> Anyone else got any results? > > Anyone? > > Regards, >  Mark > > [0] I think the jdwp tests are less stable because of timing issues and >    the timing is worse (faster?) on the java6 branch. > > > -- Regards, Ray Chen

Re: javax.annotation (was: Re: svn commit: r907559)

2010-02-21 Thread Ray Chen
/tests/javax/annotation/ResourcesTest.java   (w >> ith props) >> >> Added: harmony/enhanced/classlib/branches/java6/modules/annotation/src/main/j >> ava/javax/annotation/Generated.java >> URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/mo >> dules/annotation/src/main/java/javax/annotation/Generated.java?rev=907559&vie >> w=auto >> = > [SNIP] > > -- Regards, Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

2010-02-04 Thread Ray Chen
dex: make/properties.xml > = > --- make/properties.xml > +++ make/properties.xml > @@ -44,6 +44,7 @@ >     >     >     > +     > >     >     > > > -- > Best Regards, > Regis. > Should this patch be committed? Or has been committed? -- Regards, Ray Chen

Re: javax.annotation.process depends on javax.tools

2010-01-28 Thread Ray Chen
jdk6-harmony6.html#err_missing_javax_tools> >> Seems that we did miss this package. >> >> Best Regards >> Sean, Xiao Xia Qiu >> >> >> >> 2010/1/29 Ray Chen >> >> > Hi All, >> > >> > When I looked into javax.annotation

javax.annotation.process depends on javax.tools

2010-01-28 Thread Ray Chen
implement this package? -- Regards, Ray Chen

Re: [jira] Commented: (HARMONY-6392) [classlib][swing] Test failures in javax.swing.text.html.HTMLDocument_Reader_ActionsTest

2010-01-25 Thread Ray Chen
s, >> Tim >> >> >>> >>> On 25/01/2010 13:15, Oliver Deakin wrote: >>> >>>> >>>> Hi Ray, >>>> >>>> Thanks for the information - from your results it seems that there >>>> must be a difference in co

Re: [jira] Commented: (HARMONY-6392) [classlib][swing] Test failures in javax.swing.text.html.HTMLDocument_Reader_ActionsTest

2010-01-25 Thread Ray Chen
at javax.swing.BasicSwingTestCase.runBareImpl(BasicSwingTestCase.java:121) >> at javax.swing.BasicSwingTestCase$1.run(BasicSwingTestCase.java:135) >> at java.lang.Thread.run(Thread.java:669) >> These tests pass for me against M11. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > -- Regards, Ray Chen

Re: 5.0M12a testing

2010-01-25 Thread Ray Chen
gt;>> I've created a source tar.gz for a potential 5.0M12a release by doing: >>> >>>  svn co https://svn.apache.org/repos/asf/harmony/enhanced/tags/5.0m12a >>> fed >>>  cd fed >>>  sun60 ant populate-src bundle-src >>> >>> and placed it at: >>> >>>  http://people.apache.org/~hindessm/5.0m12a/ >>> >>> Regards, >>> -Mark. >>> >>> >>> >>> >> >> > > -- > Oliver Deakin > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > -- Regards, Ray Chen

Re: 5.0M12a testing

2010-01-22 Thread Ray Chen
ssion. Thank you! -- Regards, Ray Chen

Re: 5.0M12a testing

2010-01-21 Thread Ray Chen
FileWriterCharSinkTester:sinkTestWriteLargeArray java.nio.BufferOverflowException My question is why JIRA6408 patch was not included ? I see the patch was committed @r893377 and the m12a's revision number is 901646 -- Regards, Ray Chen

Re: Postpone java6 milestone release

2010-01-21 Thread Ray Chen
+1 On Thu, Jan 21, 2010 at 9:58 PM, Oliver Deakin wrote: > On 20/01/2010 11:18, Mark Hindess wrote: >> >> In message<4d9fb1a01001200154u780476d6k570d6bb3516ba...@mail.gmail.com>, >> Ray >> Chen writes: >> >>> >>> Hi Mark, >>> >

Re: Postpone java6 milestone release

2010-01-20 Thread Ray Chen
t by a week really helps > much and suggest that next time we do a milestone release for java5 we > do a java6 release at the same time.  (I'm not convinced this will work > either but it can't really be worse so I think we should try it.) > > What do you think? > > -Mark. > > > -- Regards, Ray Chen

Re: [jira] Commented: (HARMONY-6420) [test] Increase the method coverage rate for unit test

2010-01-19 Thread Ray Chen
these patches, the average method coverage rate for these modules >> can reach 90% above. I also attached the reports of the baseline and the >> result with patches. >> java.io >> java.lang >> java.lang.instrument >> java.lang.reflect >> javax.print.* >>

Re: 6.0 Milestone testing -windowsXP-32

2010-01-11 Thread Ray Chen
Hi All, HttpURLConnectionTest.testUsingProxy2 not only failed on java6 bransh, but also have some problems on trunk, created JIRA6416 to track this. -- Regards, Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

2010-01-10 Thread Ray Chen
nly added a few classes in swing module, the swing.jar is much bigger than trunk's (java6 5.11MB and trunk 2.38MB on my machine). I also found that java6's boot folder is much bigger than trunk's, about 11MB bigger. Did we really add "11MB" new features, or there is something wrong? -- Regards, Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

2010-01-06 Thread Ray Chen
t found no difference. Anyone can help looking at this? I guess some merge work missing. For org.apache.harmony.luni.tests.java.net.MulticastSocketTest This test passed on my machine every time. -- Regards, Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

2010-01-03 Thread Ray Chen
gt;>>> > test-module: >>>>>>> >  [echo] Running luni Unit Test from luni_tests_api.jar >>>>>>> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java >>>>>>> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report >>>>>>> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest >>>>>>> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec >>>>>>> > >>>>>>> > BUILD FAILED >>>>>>> > D:\workingcopy\branch6\build.xml:181: The following error occurred >>>>>>> > while >>>>>>> > executing this line: >>>>>>> > D:\workingcopy\branch6\make\build-test.xml:54: The following error >>>>>>> > occurred >>>>>>> > while executing this line: >>>>>>> > D:\workingcopy\branch6\make\properties.xml:529: The following error >>>>>>> > occurred >>>>>>> > while executing this line: >>>>>>> > D:\workingcopy\branch6\make\properties.xml:541: The following error >>>>>>> > occurred >>>>>>> > while executing this line: >>>>>>> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error >>>>>>> > occurred while executing this line: >>>>>>> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The >>>>>>> > following >>>>>>> > error occurred while executing this line: >>>>>>> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed. >>>>>>> > >>>>>>> > seems the java -version does not work, but I it works when I try it >>>>>>> > manually, >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Tony Wu >>>>> China Software Development Lab, IBM >>>>> >>>> >>>> >>>> >>>> -- >>>> Tony Wu >>>> China Software Development Lab, IBM >>>> >>> >>> >>> >>> -- >>> Tony Wu >>> China Software Development Lab, IBM >>> >> > > > > -- > Tony Wu > China Software Development Lab, IBM > -- Regards, Ray Chen

Re: Request to merge patch for HARMONY-6408 to branch 6

2009-12-23 Thread Ray Chen
cketTest.java:730) > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) > > -- > Tony Wu > China Software Development Lab, IBM > -- Regards, Ray Chen

Re: [jira] Commented: (HARMONY-6410) [classlib][luni] a bug found in java.util.TimeZone#getDSTSavings()and #getDisplayName(daylight,style,locale)

2009-12-22 Thread Ray Chen
will check it out. On Wed, Dec 23, 2009 at 2:05 AM, Nathan Beyer wrote: > 2009/12/22 Ray Chen : >> Hi, >> Following simple test case can reproduce the problem: >> >> import java.util.TimeZone; >> >> public class TimeZoneTest { >>        public static v

Re: [jira] Commented: (HARMONY-6410) [classlib][luni] a bug found in java.util.TimeZone#getDSTSavings()and #getDisplayName(daylight,style,locale)

2009-12-21 Thread Ray Chen
avings was set to 360. So maybe this issue is not related to TZ database or sth. On Tue, Dec 22, 2009 at 3:20 PM, Regis wrote: > On 2009-12-22 14:37, Ray Chen wrote: >> >> Hi, >> I think it's a very interesting problem. I did a google search and >> found that

Re: [jira] Commented: (HARMONY-6410) [classlib][luni] a bug found in java.util.TimeZone#getDSTSavings()and #getDisplayName(daylight,style,locale)

2009-12-21 Thread Ray Chen
alse, TimeZone.SHORT, >> Locale.CHINA)); >> this assertion failed, expected was "格林尼治标准时间+0800" but actually return >> "CST". >> while both testcases succeded in hamony's jdk. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > -- Regards, Ray Chen

Re: [jira] Commented: (HARMONY-6408) [classlib][luni]OutputStreamWriterTest got java.nio.BufferOverflowException

2009-12-21 Thread Ray Chen
oke GetLocaleInfo() in turn. You can find the details in windows/helpers.c, the cp is 936 on my machine and got gb2312 in charsetmap.h. So the question is change the vm GetSystemProperty, or our encoding mapping? On Mon, Dec 21, 2009 at 8:48 PM, Regis wrote: > On 2009-12-21 19:40, Ray Chen

Re: [jira] Commented: (HARMONY-6408) [classlib][luni]OutputStreamWriterTest got java.nio.BufferOverflowException

2009-12-21 Thread Ray Chen
19 PM, Regis wrote: > On 2009-12-21 15:54, Ray Chen (JIRA) wrote: >> >>     [ >> https://issues.apache.org/jira/browse/HARMONY-6408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793106#action_12793106 >> ] >

Re: [jira] Commented: (HARMONY-6408) [classlib][luni]OutputStreamWriterTest got java.nio.BufferOverflowException

2009-12-21 Thread Ray Chen
, &propVal);" ? > And I think we should fix the test not to depends on local environment. > Yes, I do agree, however, this issue seems that there are really some bugs in our classlib or DRLVM code, and for Chinese users, it should use GBK or GB18030 for default encode instead of GB2312 > -- > Best Regards, > Regis. > -- Regards, Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

2009-12-20 Thread Ray Chen
. On Fri, Dec 18, 2009 at 7:21 PM, Ray Chen wrote: > Hi All, > > I run the java6 test on windows platform,  27059 tests ran, and I see > 18 failures and 15 errors > Failures: > *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds > ex

Re: 6.0 Milestone testing -windowsXP-32

2009-12-19 Thread Ray Chen
Hi Tony, JIRA 6407 has been created for this issue. On Sat, Dec 19, 2009 at 8:39 PM, Tony Wu wrote: > Hi, Ray > > would you pls raise a JIRA, thanks. > > On Sat, Dec 19, 2009 at 12:18 AM, Ray Chen wrote: >> Hi all, >> I found that NetworkInterface of jav

Re: 6.0 Milestone testing -windowsXP-32

2009-12-18 Thread Ray Chen
ay be null. Merge trunk to java6, or add a if(addresses != null) will solve the NPE error. Shall I open a JIRA to track this or some committer just do that ? On Fri, Dec 18, 2009 at 7:21 PM, Ray Chen wrote: > Hi All, > > I run the java6 test on windows platform,  27059 tests ran, and

6.0 Milestone testing -windowsXP-32

2009-12-18 Thread Ray Chen
Exception I think the test failures of network interface related to JIRA6369 which means there are bugs in our portlib code on windows platform. And the test case start with"*" sucess when I ran it standalone. -- Regards, Ray Chen

Re: 6.0 Milestone testing - linux x86_64

2009-12-16 Thread Ray Chen
java:118) > at > tests.support.resource.Support_Resources.copyFile(Support_Resources.java:98) > at > org.apache.harmony.archive.tests.java.util.jar.JarFileTest.testJarVerificationEmptyEntry(JarFileTest.java:647) > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) > > -- > Best Regards, > Regis. > -- Regards, Ray Chen

Re: 6.0 Milestone testing - linux x86_64

2009-12-15 Thread Ray Chen
MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface MulticastSocketTest.test_sendLjava_net_DatagramPacketB MulticastSocketTest.test_setNetworkInterfaceLjava_net_NetworkInterface Errors: MulticastSocketTest.test_setLoopbackModeSendReceive JarFileTest.testJarVerificationEmptyEntry -- Regards, Ray

Re: 6.0 Milestone testing - linux x86_64

2009-12-15 Thread Ray Chen
failed. However, besides these, I got many ClassNotFoundException error like javax/accessibility/AccessibleBundle, javax/imageio/ImageIO, javax/print/PrintService and so on. I think I missed something important, can anyone give some help? I will re-run the test if these errors resolved. -- Regards

Re: [jira] Updated: (HARMONY-6398) [java6][classlib][luni] Patch for JIRA HARMONY-6368 will cause Harmony SQL testcases to fail.

2009-12-08 Thread Ray Chen
.fillbuf(BufferedInputStream.java:153) > > at java.io.BufferedInputStream.read(BufferedInputStream.java:319) > > at java.io.InputStreamReader.read(InputStreamReader.java:256) > > at java.io.BufferedReader.fillbuf(BufferedReader.java:107) > > at java.io.BufferedReader.read(BufferedReader.java:208) > > at java.util.Properties.load(Properties.java:399) > > at java.util.Properties.load(Properties.java:279) > > at > org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.PBloadQueryDescriptions(Unknown > Source) > > at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.run(Unknown Source) > > at java.security.AccessController.doPrivileged(AccessController.java:186) > > at > org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.loadQueryDescriptions(Unknown > Source) > > at > org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getQueryDescriptions(Unknown > Source) > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > -- Regards, Ray Chen

Re: [vote] Declare r885602 as Milestone 5.0 M12

2009-12-03 Thread Ray Chen
Hi Oliver, I see same failure on my ubuntu 9.04, and it passes every time when I run it standalone. -- Regards, Ray Chen

Re: svn commit: r883478 - in /harmony/enhanced/classlib/trunk: modules/archive/make/exclude.common modules/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/JarFileTest.java suppo

2009-11-23 Thread Ray Chen
Sounds good for "use branching and freeze that code." -- Regards, Ray Chen

Re: [jira] Updated: (HARMONY-6375) [classlib][nio]ServerSocketChannel hang when the main thread is waiting for request to accept and another thread try to configure the block mode on one channel

2009-11-15 Thread Ray Chen
How about add wait(100) and nofity() in configureBlocking() method to break the deadlock? And should the timeout be shorter to avoid impacting the performance? -- Regards, Ray Chen

Re: [jira] Updated: (HARMONY-6375) [classlib][nio]ServerSocketChannel hang when the main thread is waiting for request to accept and another thread try to configure the block mode on one channel

2009-11-15 Thread Ray Chen
Hi Mark, Sorry for the "getPort()", and I have updated the testcase to version 2, the "getPort()" has been erased from my memory too now :) . On Fri, Nov 13, 2009 at 5:40 PM, Mark Hindess wrote: > > In message <55080442.1258095819685.javamail.j...@brutus&g

Re: [classlib] BufferedReader and FileInputStream.available()

2009-11-09 Thread Ray Chen
Shall we store the return value of out.position()-1 to avoid invoking it twice? If it is too tiny for performace improvement, current patch seems good for me. On Tue, Nov 10, 2009 at 2:04 PM, Regis wrote: > Ray Chen wrote: > >> Hi Regis, >> >> Maybe add the z/OS newline

Re: [classlib] BufferedReader and FileInputStream.available()

2009-11-09 Thread Ray Chen
job to make sure you get data at the end >> of a line. (or not, if so configured, but if someone has configured >> their terminal that way, that's their decision, they should expect >> programs' behavior to change, and we certainly shouldn't go around >> reconfiguring the terminal.) >> >> by contrast, if you run this (where my program above has been built as >> "read") like this: >> >> echo -e "hello\nworld\n" | ./read >> >> you see: >> >> hello >>> >> world >> >> i.e. both lines arrive as a single chunk of data. >> >> (you didn't say exactly _how_ the test fails, so i'm just guessing >> it's related to this.) >> >> --elliott >> >> Still need to look at the available natives too since elliott suggested >>> that we should replace the 3*seek with a single ioctl for all cases >>> (though this might not be as portable). >>> >>> -Mark. >>> >>> Regis, can you explain a little more about why the check is needed >>>>>> in the available call? And why the available check is needed in the >>>>>> FileInputStream read method? >>>>>> >>>>> After I removed the check, everything is fine, except following test is >>>>> failed: >>>>> >>>>> public static void main(String args[]) >>>>> { >>>>>BufferedReader reader = new BufferedReader(new >>>>> InputStreamReader(System.in)); >>>>>String line = null; >>>>>try { >>>>> line = reader.readLine(); >>>>>} catch (IOException e) { >>>>> e.printStackTrace(); >>>>>} >>>>>System.out.println(line); >>>>> } >>>>> >>>>> In each case, is it really stdin that is special or any file >>>>>> descriptor >>>>>> representing a tty? >>>>>> >>>>>> I'd like to understand this as there are a whole bunch of ttyRead with >>>>>> a similar check that only affects stdin not any tty descriptor. >>>>>> >>>>>> in the meantime, i wondered also whether it's worth swapping the two >>>>>>> conjuncts in the if, since the latter is essentially free while the >>>>>>> former is expensive. (i've no idea how often the cheap conjunct is >>>>>>> false, though.) >>>>>>> >>>>>> I thought about this but held of doing it for the same reason. >>>>>> However, >>>>>> I guess it is almost certainly a win. >>>>>> >>>>>> Regards, >>>>>> Mark. >>>>>> >>>>> >>> >>> >> >> >> > > -- > Best Regards, > Regis. > -- Regards, Ray Chen

Re: [announce] New committer - Jesse Wilson

2009-11-08 Thread Ray Chen
. > > [1] http://wiki.apache.org/harmony/NewCommitter > > > The Apache Harmony PMC > > > > > -- Regards, Ray Chen

Re: [jira] Created: (HARMONY-6328) [classlib][nio] optimize SocketChannel.write(ByteBuffer[], int, int) by writev

2009-09-06 Thread Ray Chen
gt; + src[i].put(buffer); >> >> some VMs will pin the java heap memory accessed in JNI >> (GetByteArrayElements), so if you can get hold of the ByteBuffer#array() >> you can pass a set of pointers to the backing arrays and maybe send the >> data directly. >> >> Looking forward to seeing the readv impl too ;-) >> > > Sure, it's on my TODO list :) > > >> Regards, >> Tim >> >> >> > > -- > Best Regards, > Regis. > -- Best Regards, Ray Chen

Re: [vote] Declare the signed source for r808406 as Milestone 11

2009-08-31 Thread Ray Chen
download page, as usual. > > Regards, > Mark. > > [0] drlvm/trunk and the java6 branches of classlib and jdktools will >remain frozen until we test and vote on 6.0M1 > > > > > > -- Ray Chen MSN:clrayc...@hotmail.com Email:claryc...@gmail.com

Re: [jira] Commented: (HARMONY-6324) [classlib][nio]SocketChannelTest.test_finishConnect may failed when the port number has been occupied

2009-08-28 Thread Ray Chen
-6324 > > Project: Harmony > > Issue Type: Bug > > Components: Classlib > >Affects Versions: 5.0M11 > > Environment: all platform > >Reporter: Ray Chen > >Assignee: Mark Hindess > >

Re: [VOTE] Contribution of native code to port to additional platforms in HARMONY-6311

2009-08-25 Thread Ray Chen
+1

Re: [vote] Accept JDWP contribution in HARMONY-6187

2009-07-15 Thread Ray Chen
know if there >> are any objections/comments to this contribution! I'll give it a few days >> and then start a vote. >> >> Regards, >> Oliver >> >> [1] https://issues.apache.org/jira/browse/HARMONY-6187 >> >> >> > -- > Oliver Deakin > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire > PO6 3AU > > -- Ray Chen MSN:clrayc...@hotmail.com Email:claryc...@gmail.com