Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 80393 invoked from network); 16 Nov 2007 02:35:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2007 02:35:47 -0000 Received: (qmail 90459 invoked by uid 500); 16 Nov 2007 02:35:33 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 90425 invoked by uid 500); 16 Nov 2007 02:35:33 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 90416 invoked by uid 99); 16 Nov 2007 02:35:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 18:35:33 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zhanghuangzhu@gmail.com designates 209.85.132.251 as permitted sender) Received: from [209.85.132.251] (HELO an-out-0708.google.com) (209.85.132.251) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 02:35:24 +0000 Received: by an-out-0708.google.com with SMTP id b8so167965ana for ; Thu, 15 Nov 2007 18:35:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=RQyTZEN2tFpHKrB5/kC6Vwe7Or5lxQMmQc7fBMvNn3E=; b=KrgX4b7vsRVk3t+lZLuTQiDNufhVwGXtAB8jvBYzPpZUwHfyYn+h7HW3pxQkI4JFMg067FPHAHVYS+isK5+0YdOMdA9F6eKdGbUMVRNQhxo2VDHwMZz0GbR7LJuWU0iiMNIhsEFADu7F6uECq3vnw/457+EIDTeJNMpZdEfjXkI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Rb1NFh14PWv9L7DYDjnHVVmj8xYTST9pp6lBqIa84NG8DSqZMt7Mh4PCCozgfd4qDyrJL6gzGLkfFnWw13JpESgSyjvjMs4kohdXEYlBQWj1AwowArSF24sGlhKC1HzoE7F8nzuooPvRLxAXBCTVXI0S6hDsy6U0h3MEoipJ310= Received: by 10.142.213.9 with SMTP id l9mr491483wfg.1195180517038; Thu, 15 Nov 2007 18:35:17 -0800 (PST) Received: by 10.142.218.14 with HTTP; Thu, 15 Nov 2007 18:35:16 -0800 (PST) Message-ID: <4d0b24970711151835p224701b6se1ea77ab5e3da283@mail.gmail.com> Date: Fri, 16 Nov 2007 10:35:16 +0800 From: "Andrew Zhang" To: dev@harmony.apache.org Subject: Re: [classlib][misc] Could we make ObjectAccessor.getInstance() public? In-Reply-To: <9623c9a50711151503s204d28fex7cd04997545a6bb5@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9323_5899565.1195180517025" References: <4d0b24970711150116g32e1e925hfe51f3a3236865ad@mail.gmail.com> <9623c9a50711151503s204d28fex7cd04997545a6bb5@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9323_5899565.1195180517025 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Nov 16, 2007 7:03 AM, Xiao-Feng Li wrote: > Andrew, what's the supposed real use of this interface? Are there any > important applications depending on this feature? Or it's only your > personal interests? Hi, An existing application depends on this feature, but I can't say it's important. I don't think java developers want to distribute their product as jars + .so/.dll. Since Harmony has the java side wrapper, package friend is also not the problem. The application is using reflection for this functionality for other platforms. Well, if it conflicts with our current convention, just ignore my suggestion. Thanks. > > > Thanks, > xiaofeng > > On Nov 15, 2007 5:16 PM, Andrew Zhang wrote: > > Hi, > > > > I find some methods of ObjectAccessor are useful for some existing > > applications and potential users, e.g, Object allocateObject(Class). > Could > > we make getInstance() public so that users can benefit from these > utility > > methods? Thanks! > > > > -- > > Best regards, > > Andrew Zhang > > > > http://zhanghuangzhu.blogspot.com/ > > > > > > -- > http://xiao-feng.blogspot.com > -- Best regards, Andrew Zhang http://zhanghuangzhu.blogspot.com/ ------=_Part_9323_5899565.1195180517025--