Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 50423 invoked from network); 9 Nov 2006 02:05:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2006 02:05:13 -0000 Received: (qmail 58090 invoked by uid 500); 9 Nov 2006 02:05:21 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 58051 invoked by uid 500); 9 Nov 2006 02:05:21 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 58042 invoked by uid 99); 9 Nov 2006 02:05:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 18:05:21 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 202.81.18.154 is neither permitted nor denied by domain of richard.liangyx@gmail.com) Received: from [202.81.18.154] (HELO ausmtp05.au.ibm.com) (202.81.18.154) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 18:05:05 -0800 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp05.au.ibm.com (8.13.8/8.13.6) with ESMTP id kA9E6h615918918 for ; Thu, 9 Nov 2006 13:06:43 -0100 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.250.237]) by sd0208e0.au.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kA927mYN243518 for ; Thu, 9 Nov 2006 13:08:03 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kA924LNm001159 for ; Thu, 9 Nov 2006 13:04:21 +1100 Received: from d23m0011.cn.ibm.com (d23m0011.cn.ibm.com [9.181.32.74]) by d23av04.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kA924KLP001136 for ; Thu, 9 Nov 2006 13:04:21 +1100 Received: from [127.0.0.1] ([9.181.106.52]) by d23m0011.cn.ibm.com (Lotus Domino Release 6.5.5HF882) with ESMTP id 2006110910025259-142815 ; Thu, 9 Nov 2006 10:02:52 +0800 Message-ID: <45528CA3.6000707@gmail.com> Date: Thu, 09 Nov 2006 10:04:19 +0800 From: Richard Liang User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [classlib]Harmony classlib with J9 VM passes all the tests provided by JUnit4.1 References: <3b3f27c60611031750q5d4935deve0da79892c519271@mail.gmail.com> <454D2F1C.2020305@pobox.com> <454E75CF.4030806@gmail.com> <454E7DEF.6080906@pobox.com> <454F0807.2000902@gmail.com> <454F45F4.7040302@pobox.com> <3b3f27c60611061809j76d81ddclabb2da40a1799f53@mail.gmail.com> <4550EEB4.3020909@gmail.com> <45515953.2040007@gmail.com> <4551B2A8.3090606@gmail.com> <45528999.2040006@gmail.com> In-Reply-To: <45528999.2040006@gmail.com> X-MIMETrack: Itemize by SMTP Server on D23M0011/23/M/IBM(Release 6.5.5HF882 | September 26, 2006) at 09/11/2006 10:02:52, Serialize by Router on D23M0011/23/M/IBM(Release 6.5.5HF882 | September 26, 2006) at 09/11/2006 10:02:54, Serialize complete at 09/11/2006 10:02:54 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org Richard Liang wrote: > > > Tim Ellison wrote: >> Richard Liang wrote: >> >>> Tim Ellison wrote: >>> >>>> Richard Liang wrote: >>>> >>>> >>>>> On 11/7/06, Nathan Beyer wrote: >>>>> >>>>>> I believe we're down to agreeing to the Objects/Threads classes >>>>>> [1] in >>>>>> luni-kernel and getting them implemented in DRLVM and the donated >>>>>> IBM >>>>>> VM. I believe the Unsafe class needs to be re-implemented with these >>>>>> interfaces, but that may already be done. >>>>>> >>>>> Yes, I just run testNG successfully by appending suncompat.jar and >>>>> luni-kernel-stubs.jar to bootclasspath ;-) >>>>> >>>> Why do you need to put the stubs on the bootclasspath? and there is a >>>> sun.misc.Unsafe in the DRLVM kernel.jar so I expect you are using >>>> that. >>>> >>> Sorry ;-) I'm using IBM VME which does not include >>> "org.apache.harmony.kernel.vm.Objects" and >>> "org.apache.harmony.kernel.vm.Threads". I will try it with DRLVM. >>> >> >> I'm still confused. If you are using stubs that do not actually >> implement Objects and Threads do you mean that we need Unsafe for TestNG >> but it doesn't actually use it? I feel that I'm missing something here. >> > Maybe it's true that Unsafe is not actually used because I only tried > the simplest test scenario which does not use "parallel running" ;-) > And yes, when I try to run the tests with annotation "@Test(threadPoolSize = 3, invocationCount = 10, timeOut = 10000)", the tests hang. I guess the reason is that I use the stubs of Objects and Threads. ;-) Best regards, Richard >> Regards, >> Tim >> >> > -- Richard Liang China Software Development Lab, IBM