8214122: JDWP is broken on 32 bit Windows: transport library missing onLoad entry
Reviewed-by: ihse, dcubed
--- a/src/jdk.jdwp.agent/share/native/libjdwp/transport.c Wed Dec 19 14:11:35 2018 -0800
+++ b/src/jdk.jdwp.agent/share/native/libjdwp/transport.c Thu Dec 20 12:44:41 2018 +0000
@@ -95,6 +95,13 @@
if (handle == NULL) {
return onLoad;
}
+#if defined(_WIN32) && !defined(_WIN64)
+ onLoad = (jdwpTransport_OnLoad_t)
+ dbgsysFindLibraryEntry(handle, "_jdwpTransport_OnLoad@16");
+ if (onLoad != NULL) {
+ return onLoad;
+ }
+#endif
onLoad = (jdwpTransport_OnLoad_t)
dbgsysFindLibraryEntry(handle, "jdwpTransport_OnLoad");
return onLoad;