On Tue, 26 Mar 2024 12:51:38 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> This is a follow-up on 
> [JDK-8328680](https://bugs.openjdk.org/browse/JDK-8328680), making the same 
> kind of cleanup to java.desktop. Some code needed more special treatment 
> here, so there is some additional effects outside of the modules/java.desktop 
> directory. The code was also in worse shape than other modules, so some 
> additional changes to the build logic where needed.

As usual, I have run COMPARE_BUILD on Oracle CI to be able to study the 
differences. As before, I believe all differences are due to the reordering of 
libraries to link with. 

For Windows, the changes were larger in some libraries than usual, so I 
conducted a more thorough investigation. I have verified that the command lines 
to compile and link are essentially unchanged (except for ordering of command 
line flags). I believe the use of `-delayload` in libawt and libsplashscreen 
was the cause for the larger-than-usual changes in the resulting dll files.

(I also incidentally discovered 
[JDK-8329107](https://bugs.openjdk.org/browse/JDK-8329107) when I was 
scrutinizing the command lines...)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18486#issuecomment-2020828348

Reply via email to