Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 66509 invoked from network); 24 May 2009 19:04:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 May 2009 19:04:31 -0000 Received: (qmail 98722 invoked by uid 500); 24 May 2009 19:04:43 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 98622 invoked by uid 500); 24 May 2009 19:04:43 -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 98610 invoked by uid 99); 24 May 2009 19:04:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 May 2009 19:04:43 +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 pmcfirst@gmail.com designates 209.85.218.163 as permitted sender) Received: from [209.85.218.163] (HELO mail-bw0-f163.google.com) (209.85.218.163) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 May 2009 19:04:34 +0000 Received: by bwz7 with SMTP id 7so2681228bwz.36 for ; Sun, 24 May 2009 12:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=B6NQFQgWUTWXiZdTLN0Ltr5ae/S3yKXYelfbM7LfDE0=; b=tDOmUeV2b/ufc+Zs/5U1n2qCiGKNn62vhwfuzdv6IVGrRARWqx4A7PS3G9sfaHckA7 hhTIFAFrh9efKAQ0ppz3Gr9pI85SzlJYy1MxTzfvSVhTa2v/huHfOMNeG2rLANzdOn3t dU6lwAiBoOtL43L8u8/zp16U4McvuFF6gpAIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=svHJImITVmji9Rh43dhSH3dMWYPxqxzQJOwYZBghZ7Xxg1kFoCr+rhfqDF5VPKgYtn yDz2I03yiOjFZI2eJtFidAFo04frUq4npUKOpCmcLPoaxjD5wa3j45nlGwiYZAdCkoGZ FMiunElciO5itoQylGWXfruWEEU+PDYpyj7xE= MIME-Version: 1.0 Received: by 10.103.179.1 with SMTP id g1mr3227776mup.48.1243191853509; Sun, 24 May 2009 12:04:13 -0700 (PDT) In-Reply-To: References: Date: Sun, 24 May 2009 23:04:13 +0400 Message-ID: Subject: Re: Code to support Generics From: Pavel Pervov To: dev@harmony.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Well, it looks like I gave you some misleading info. You can find generic info for a class in the field m_signature in file working_vm/vm/vmcore/include/Class.h. Also, you can find some bits of java code for accessing generics in working_vm/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/lang/reflect/ directory. Pavel. On Sun, May 24, 2009 at 4:30 PM, Wenliang Cai wrote: > Thank you very much. I'll check the file. > > On Sun, May 24, 2009 at 6:15 PM, Pavel Pervov wrote: > >> Wenliang, >> >> Please, see type definitions in header files annotation.h and >> annotations.h in working_vm/vm/vmcore/include and their usage accross >> vm code. >> >> Pavel. >> >> On Sat, May 23, 2009 at 5:27 PM, Wenliang Cai wrote: >> > Hi all, >> > Sorry for the interruption. At this point, I get stuck by using nested >> > Generics definition in my program. I want to look into the JVM code to >> > understand the implementation details. Could anybody point me to the >> > detailed code piece? Any response is greatly appreciated!! >> > >> > Thanks, >> > William >> > >> >