From dev-return-37553-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Thu Jun 25 08:26:24 2009 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 83466 invoked from network); 25 Jun 2009 08:26:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 08:26:24 -0000 Received: (qmail 22416 invoked by uid 500); 25 Jun 2009 08:26:34 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 22387 invoked by uid 500); 25 Jun 2009 08:26:34 -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 22376 invoked by uid 99); 25 Jun 2009 08:26:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 08:26:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of xu.regis@gmail.com designates 74.125.92.149 as permitted sender) Received: from [74.125.92.149] (HELO qw-out-1920.google.com) (74.125.92.149) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 08:26:24 +0000 Received: by qw-out-1920.google.com with SMTP id 5so706488qwf.24 for ; Thu, 25 Jun 2009 01:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=r5z0fcLGj5mew3NUaAMqqkub1/K6wz3quhyW5zgKWwc=; b=VaxRmcGIFLnpvtRa/A8GyzWuol+vtBLLE4rtzBkMUyLBBUrr/29i8Z4JXilOobyW2K bbtGLLTjonxLbSfuc58zmvkDazAb9fjWI7em9aHLWg95OGRNIa2Tsc6QrGoOpcq9tfe+ gydIcAwr83wcVgI+4XOFPmqd5rrj0eK+v/r+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=gpaeuBJfmaFk6uB0K3WVmOuytuTaKfy5Gh9qiwxxxfqjjU3kFAwGEqaDM5OQ1KyUT4 NmzzFOXD01ZVGKdcoFS+Dp87WL3gZZSgwMn9qg5jfzU8dOVmGN4s8zTAOZPEcgOJxLPH ysDLhzyvMw1/TnZ1g+YMyUOCOSf/DlHpi9X14= Received: by 10.224.67.132 with SMTP id r4mr1848376qai.212.1245918362745; Thu, 25 Jun 2009 01:26:02 -0700 (PDT) Received: from ?9.123.237.125? ([220.248.0.145]) by mx.google.com with ESMTPS id 5sm4095239qwg.25.2009.06.25.01.25.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Jun 2009 01:26:02 -0700 (PDT) Message-ID: <4A433487.7040801@gmail.com> Date: Thu, 25 Jun 2009 16:25:43 +0800 From: Regis User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: Questions about suncompat and bootclasspath.properties References: <4A430098.9050502@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org galaxy wrote: > Thanks Regis > > 2009/6/25 Regis > >> galaxy wrote: >> >>> Hi , >>> I have several questions about the classlib . >>> >>> 1) >>> I noticed that the module suncompat isn't in the jre list of jar files >>> of harmony and also the lines of suncompat in bootclasspath.properties has >>> been commented >>> so I am wondering the function of this module ?Is it the same of >>> xxx-stubs.jar ? >>> >> suncompat provides some Sun internal classes that are widely used by >> applications. I guess these classes just delegate functions to Harmony >> classes which has equivalent functions. > > > One more thing I don't understand .It's the sun.misc.Unsafe class .It is > included in both the kernel.jar > and suncompat.jar .So is this the reason not including it in the boot class > path ? kernel.jar should be in the first place of bootstrap classpath, sun.misc.Unsafe in suncompat.jar would never be used even if uncommented in bootclasspath.properties. I don't know why it is not including in boot classpath (it's a long time ago story). Maybe people think its existence just for compatible reasons, Harmony can work well without it. If someone used Sun specific APIs and didn't willing to change, he could just add suncompat.jar to make his program work. > >> luni-kernel-stubs.jar is just stub classes to make compiler happy, the >> "real" classes are provided by vm. >> >> >>> 2) >>> I noticed that there are several modules like yoko , asm ,and so on >>> ,unlike others ,they are in folders .And some of them the manifest file >>> doesn't have the export / import >>> statement including yoko , yoko-core , yoko.rim , yoko-rmi-impl , >>> becl.-5.2 >>> .So how are they related to the other modules in the jre ? I have >>> searched >>> several packages of them and found no relation between them and the other >>> jre modules . >>> >> As I know, yoko is rmi provider, asm is used by pack200 module. >> >> >>> Could anyone explain this to me :) >>> Thanks ! >>> >>> >> -- >> Best Regards, >> Regis. >> > > > -- Best Regards, Regis.