Re: RFR: 8346383: Cannot use DllMain in libdt_socket for static builds [v2]

2025-01-13 Thread David Holmes
On Mon, 13 Jan 2025 13:31:44 GMT, Magnus Ihse Bursie wrote: >> To be able to properly support static builds on Windows in >> [JDK-8346377](https://bugs.openjdk.org/browse/JDK-8346377), we cannot use >> `DllMain`, for two reasons: >> >> 1) This is not called for statically linked libraries, and

Re: RFR: 8346383: Cannot use DllMain in libdt_socket for static builds [v2]

2025-01-13 Thread Magnus Ihse Bursie
> To be able to properly support static builds on Windows in > [JDK-8346377](https://bugs.openjdk.org/browse/JDK-8346377), we cannot use > `DllMain`, for two reasons: > > 1) This is not called for statically linked libraries, and > 2) There are multiple `DllMain` definitions throughout the JDK n