This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: JNI/Win32 Patch #2: Fix lookup of "JNI_OnLoad" on loading a JNI DLL
- From: Tom Tromey <tromey at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 03 Feb 2003 14:01:47 -0700
- Subject: Re: JNI/Win32 Patch #2: Fix lookup of "JNI_OnLoad" on loading a JNI DLL
- References: <asrjss$fh8$1@main.gmane.org> <asuso1$ssk$1@main.gmane.org><87znrg2rrq.fsf@fleche.redhat.com> <at1fe1$brq$1@main.gmane.org>
- Reply-to: tromey at redhat dot com
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