mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-14 07:29:51 +00:00
8377183: Impossible or redundant condition in AwtFrame::_NotifyModalBlocked of awt_Frame.cpp:1635
Reviewed-by: serb, prr
This commit is contained in:
parent
7bc2475962
commit
3de6dbab14
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1996, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -1632,7 +1632,7 @@ void AwtFrame::_NotifyModalBlocked(void *param)
|
||||
}
|
||||
}
|
||||
|
||||
if ((f != NULL) && ::IsWindow(f->GetHWnd()))
|
||||
if (::IsWindow(f->GetHWnd()))
|
||||
{
|
||||
// get an HWND of the toplevel window this embedded frame is within
|
||||
HWND fHWnd = f->GetHWnd();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user