This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


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

Re: Dynamic class loading


While we're on the topic, what about they other way around? What are your
ideas on generating a native interface for a compiled object file? The
constructor would have to be replaced with a getInstance() method since the
jvm does (to my knowledge) support native constructors. That's the easy
part. The hard part is getting jni to recognize java::lang::Object as a jni
jobject. Could the compiled object file extend both? This would be usefull
for native compiling a small piece of processor intensive java code without
having compiling the whole program.

Any plans? Ideas?

Sean McEligot