This is the mail archive of the java-patches@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/Win32 Patch #2: Fix lookup of "JNI_OnLoad" on loading a JNI DLL


Ranjit> 2002-12-09  Ranjit Mathew  <rmathew@hotmail.com>
Ranjit>      * java/lang/natRuntime.cc (java::lang::Runtime::_load)):
Ranjit>      Take care of the fact that on Win32, JNI_OnLoad is an
Ranjit>      "stdcall" function and could also have been exported
Ranjit>      as "JNI_OnLoad@8" (MinGW) or "_JNI_OnLoad@8" (MSVC).

I'm checking this in on the trunk and the 3.3 branch.
Thanks.

Tom


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