On Tue, 7 Jul 2026 14:19:14 GMT, Matthias Baesken <[email protected]> wrote:

> [JDK-8387298](https://bugs.openjdk.org/browse/JDK-8387298) removed the 
> IS_WINXP macro, and the updated code in ComCtl32Util::UnsubclassHWND and 
> ComCtl32Util::DefWindowProc doesn't use the _DefWindowProc parameter any more.
> 
> Thus, the _DefWindowProc parameter can be removed from these functions.
> 
> Removing these parameters requires updating all the usages of the functions, 
> for example, in awt_Component.cpp, awt_Choice.cpp...
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 34a49f7b
Author:    Matthias Baesken <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/34a49f7bd14be05404e20adcd5c9e41246173ee2
Stats:     62 lines in 10 files changed: 0 ins; 35 del; 27 mod

8387670: Clean up subclassing and DefWindowProc

Reviewed-by: clanger, aivanov, prr

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

PR: https://git.openjdk.org/jdk/pull/31814

Reply via email to