win32: Why exports of JNI_* symbols from _exe_ files

Danny Smith danny_r_smith_2001@yahoo.co.nz
Tue Aug 5 00:53:00 GMT 2003


I notice that 
JNI_CreateJavaVM@12
JNI_GetCreatedJavaVMs@12
JNI_GetDefaultJavaVMInitArgs@4

end up in export table of all gcj-built .exe files
(with newer binutils that handle exports from exe's).
This is because they are marked as dllexport in jni.cc 
even when jni.o gets archived into a static libgcj.a.

Is there a reason for these symbols always to be exported from
.exe file?

Danny

http://personals.yahoo.com.au - Yahoo! Personals
-  New people, new possibilities! Try Yahoo! Personals, FREE for a limited period!



More information about the Java mailing list