RFR: 8329340: Remove unused libawt code

Phil Race prr at openjdk.org
Fri Mar 29 21:53:40 UTC 2024


On Fri, 29 Mar 2024 18:23:27 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> Please review this PR that removes unused functions, variables, and WM_AWT window messages.
> 
> The unused code was detected by automated analysis (MSVC compiler and linker, CodeQL analyzer). I manually verified every symbol before removing. Mach5 client libs testing clean.
> 
> Some WM_AWT messages have different IDs after this change. The IDs have changed a few times before, so I think this shouldn't be a problem.

About the WM_AWT messages, how did these tools you mention figure out no message of that name / ID is ever created ?
I presume that's what you must have done to decide it is OK to remove the handling of these messages.

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

PR Comment: https://git.openjdk.org/jdk/pull/18553#issuecomment-2027769180


More information about the client-libs-dev mailing list