Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 19711 invoked from network); 25 Sep 2006 10:45:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 10:45:37 -0000 Received: (qmail 38741 invoked by uid 500); 25 Sep 2006 10:45:34 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 38700 invoked by uid 500); 25 Sep 2006 10:45:34 -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 38683 invoked by uid 99); 25 Sep 2006 10:45:34 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 03:45:34 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=pmcfirst@gmail.com; domainkeys=good Authentication-Results: idunn.apache.osuosl.org smtp.mail=pmcfirst@gmail.com; spf=pass X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.166.177 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.166.177] ([64.233.166.177:24166] helo=py-out-1112.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 11/42-13750-B43B7154 for ; Mon, 25 Sep 2006 03:45:32 -0700 Received: by py-out-1112.google.com with SMTP id c30so2558795pyc for ; Mon, 25 Sep 2006 03:45:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HvD6zOX2ZIogA1/JIp3aPw9CjzCU+b1SU6hwZUerpO1FhDMMQENJqg4B5faarYXzfOpiT+CEGfo9YtHPW3IkOqtLS5l2fpAbW7/vD9Z2s67XOdd/Y1687IQoIRcGz/QYX3dMKhfIhpP8BBFoWOJL5ts7/NcBrqyIGutU3xaAZQQ= Received: by 10.35.60.15 with SMTP id n15mr7513125pyk; Mon, 25 Sep 2006 03:45:26 -0700 (PDT) Received: by 10.35.31.10 with HTTP; Mon, 25 Sep 2006 03:45:26 -0700 (PDT) Message-ID: Date: Mon, 25 Sep 2006 14:45:26 +0400 From: "Pavel Pervov" To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] invoking non-trivial jars results in IllegalAccessError In-Reply-To: <200609251143.14230.chris.gray@kiffer.be> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_26727_8886699.1159181126728" References: <200609251143.14230.chris.gray@kiffer.be> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_26727_8886699.1159181126728 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Chris, As far as I understant, this is responsibility of a class loader to parse Class-Path attribute of any jar file it has in its class path. System class loader for DRLVM (which is URLClassLoader) does this. Any objections? Regards, Pavel Pervov. Intel Middleware Products Division. On 9/25/06, Chris Gray wrote: > > As I understand it, the classpath of the jarred application should include > the > jar file itself and the contents of its Class-Path attribute (if any). You > probably need to create a special class loader for the application and use > that whenever the application (or a library loaded by it) is the > initiator. > -- > Chris Gray /k/ Embedded Java Solutions BE0503765045 > Embedded & Mobile Java, OSGi http://www.k-embedded-java.com/ > chris.gray@kiffer.be +32 3 216 0369 > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > ------=_Part_26727_8886699.1159181126728--