Alexey Ivanov 8357de88aa 8334868: Ensure CheckUninstallModalHook is called in WPageDialogPeer._show
Ensure AwtDialog::CheckInstallModalHook and
AwtDialog::ModalActivateNextWindow are always called
after ::PageSetupDlg returns.

Reverse the condition of the if statement and
bail out if ::PageSetupDlg returns an error.

Remove the doIt flag and use explicit returns:
* JNI_FALSE if an error detected;
* JNI_TRUE  if the function reached its end
without errors.

Reviewed-by: dmarkov, prr
2026-04-10 13:07:00 +00:00
2016-05-30 16:17:11 +02:00
2024-09-25 16:25:23 +00:00

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.

Languages
Java 73.9%
C++ 14.2%
C 7.9%
Assembly 2.7%
Objective-C 0.4%
Other 0.7%