On Wed, 22 Jul 2026 08:04:24 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).
>
> Matthias Baesken has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   change SubclassHWND return type to void

Are you good with the latest version ?

> Btw. m_DefWindowProc seems to be obsolete now too.

Probably this could be done in a follow-up if we want to remove it.

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

PR Comment: https://git.openjdk.org/jdk/pull/31814#issuecomment-5055770747

Reply via email to