This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JNI calling the first method of a class.


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]