From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11780 invoked by alias); 1 Jul 2009 11:47:56 -0000 Received: (qmail 11770 invoked by uid 22791); 1 Jul 2009 11:47:56 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from hel.is.scarlet.be (HELO hel.is.scarlet.be) (193.74.71.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jul 2009 11:47:47 +0000 Received: from scarlet.be (taj.is.scarlet.be [193.74.71.42]) by hel.is.scarlet.be (8.14.2/8.14.2) with ESMTP id n61BlhlY020307; Wed, 1 Jul 2009 13:47:43 +0200 Date: Wed, 01 Jul 2009 11:47:00 -0000 Message-Id: Subject: Re: JNI calling the first method of a class. MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "Chris Gray" To: "aph" Cc: "abhi00" , "java" X-XaM3-API-Version: 4.1 (B54) X-type: 0 X-SenderIP: 84.196.93.180 X-DCC-scarlet.be-Metrics: hel; whitelist X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00002.txt.bz2 > abhishek desai wrote: > > > Is there any way to call the first method of a class in JNI ? > > I am confused by this question. What makes a method the first? > There is no explicit ordering of methods in class files, as far as I > know. The static initializer could be called the "first" method, because it will = be called before any other method. An in that case the answer is "no - by desi= gn". Chris Gray /k/ Embedded Java Solutions _________________________________________ Scarlet Mobile, free subscription in combination with your Scarlet One or A= DSL, visit http://www.scarlet.be/fr/mobile3g