-
Bug
-
Resolution: Fixed
-
P3
-
25
-
b03
-
windows
To be able to properly support static builds on Windows in 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 native libraries, causing name collisions.
While it could have been possible to keep the DllMain for non-static builds and just use an alternative solution for static builds, I think it is preferable to have a single solution that works as well for both static and dynamic builds.
1) This is not called for statically linked libraries, and
2) There are multiple DllMain definitions throughout the JDK native libraries, causing name collisions.
While it could have been possible to keep the DllMain for non-static builds and just use an alternative solution for static builds, I think it is preferable to have a single solution that works as well for both static and dynamic builds.
- blocks
-
JDK-8346377 Properly support static builds for Windows
- In Progress
- links to
-
Commit(master) openjdk/jdk/8efc5585
-
Review(master) openjdk/jdk/22788