From: "Chris Gray" <chris.gray@kiffer.be>
To: "aph" <aph@redhat.com>
Cc: "abhi00" <abhi00@gmail.com>, "java" <java@gcc.gnu.org>
Subject: Re: JNI calling the first method of a class.
Date: Wed, 01 Jul 2009 11:47:00 -0000 [thread overview]
Message-ID: <KM3Q3J$ECCBD89C9044D781DE9CF0F8C8EC6F93@scarlet.be> (raw)
> 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 design".
Chris Gray /k/ Embedded Java Solutions
_________________________________________
Scarlet Mobile, free subscription in combination with your Scarlet One or ADSL, visit http://www.scarlet.be/fr/mobile3g
next reply other threads:[~2009-07-01 11:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 11:47 Chris Gray [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-01 10:36 abhishek desai
2009-07-01 11:22 ` Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='KM3Q3J$ECCBD89C9044D781DE9CF0F8C8EC6F93@scarlet.be' \
--to=chris.gray@kiffer.be \
--cc=abhi00@gmail.com \
--cc=aph@redhat.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).