[PATCH] Windows 32-bit DLL name decoration (original) (raw)
Alexey Ivanov alexey.ivanov at oracle.com
Tue Dec 11 15:05:37 UTC 2018
- Previous message (by thread): [PATCH] Windows 32-bit DLL name decoration
- Next message (by thread): [PATCH] Windows 32-bit DLL name decoration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi everyone,
I came up with the following patch: http://cr.openjdk.java.net/~aivanov/8214122/webrev.00/
It specifically addresses the problem in JDK-8214122 where on 32 bit Windows jdwpTransport_OnLoad can exported with its plain and __stdcall-mangled name. I used conditional compilation so that for other platforms the code remains as it is now.
jshell starts successfully with this fix; an IDE debugger works as well.
Regards, Alexey
https://bugs.openjdk.java.net/browse/JDK-8214122
On 10/12/2018 15:11, Magnus Ihse Bursie wrote:
Since removing JNICALL is not an option, there are only two options:
1. Add |/export| option to the Makefile or pragma-comment to the source file; 2. Lookup the decorated name |jdwpTransportOnLoad at 16| for Win32 with fallback to undecorated one. Yes. I think the correct solution here is 2.
- Previous message (by thread): [PATCH] Windows 32-bit DLL name decoration
- Next message (by thread): [PATCH] Windows 32-bit DLL name decoration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]