Re: JNI calling the first method of a class.

"Chris Gray" <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.