375 Commits

Author SHA1 Message Date
Matthias Baesken
6ec04bb204 8387675: IS_WINVISTA macro is obsolete
Reviewed-by: aivanov, stuefe, prr
2026-07-13 18:04:04 +00:00
Matthias Baesken
79be204abf 8387465: Remove isXP() function from WPathGraphics.java
Reviewed-by: aivanov, mdoerr
2026-07-03 12:35:21 +00:00
Matthias Baesken
10af769eb0 8387298: IS_WIN2000 and IS_WINXP macros are obsolete
Reviewed-by: aivanov, dgredler
2026-07-02 13:47:53 +00:00
Phil Race
aa98d5d20b 8385100: Null pointer dereference in java.desktop/windows/classes/sun/print/Win32PrintJob.java:606 and other PrintJob implementations
Reviewed-by: psadhukhan, kizune
2026-06-04 19:09:19 +00:00
Alexander Zvegintsev
f640edebf0 8341382: EXCEPTION_ACCESS_VIOLATION in awt.dll after JDK-8185862
Reviewed-by: kizune, prr, vdyakov
2026-06-02 00:04:01 +00:00
Prasanta Sadhukhan
d8d881b987 6328248: JProgessBar doesn't show if printed on paper with PrintJob (1.1 Graphics API)
Reviewed-by: prr, kizune
2026-05-05 04:49:37 +00:00
Phil Race
16ad67e6da 8382487: Remove unnecessary SuppressWarnings annotations in java.desktop
Reviewed-by: serb, aivanov, dmarkov
2026-04-21 18:57:39 +00:00
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
Phil Race
20c3082aac 8380578: Remove miscellaneous AppContext uses, mostly in XAWT
Reviewed-by: serb, azvegint
2026-03-31 18:41:51 +00:00
Sergey Bylokhov
4d2623757f 8359433: The final modifier on Windows L&F internal UI classes prevents extending them in apps
Reviewed-by: prr, aivanov
2026-03-26 20:59:45 +00:00
Phil Race
a26d61312e 8378898: Remove AppContext from sun/awt/windows/WWindowPeer.java
Reviewed-by: dnguyen, serb
2026-03-22 19:54:22 +00:00
Sergey Bylokhov
30145a4bd7 8379952: Revert JDK-8365711: Restore protected visibility of menuBarHeight and hotTrackingOn
Reviewed-by: azvegint
2026-03-18 20:40:42 +00:00
Prasanta Sadhukhan
8c4c8a1617 8378417: Printing All pages results in NPE for 1.1 PrintJob
Reviewed-by: prr, aivanov
2026-03-09 01:21:34 +00:00
Phil Race
cd462a88c6 8378385: Remove AppContext from AWT Windows implementation classes
Reviewed-by: dnguyen, serb
2026-02-26 20:29:51 +00:00
Alexander Zuev
c73f05bec9 8376233: Clean up code in Desktop native peer
Reviewed-by: aivanov, prr
2026-02-12 16:32:14 +00:00
Damon Nguyen
3de6dbab14 8377183: Impossible or redundant condition in AwtFrame::_NotifyModalBlocked of awt_Frame.cpp:1635
Reviewed-by: serb, prr
2026-02-11 00:55:17 +00:00
Prasanta Sadhukhan
9a10cceeaf 8374506: Incorrect positioning of arrow icon in parent JMenu in Windows L&F
Reviewed-by: aivanov, kizune
2026-01-30 03:19:49 +00:00
Phil Race
0722ae926f 8376433: Remove AppContext from Swing Windows L&F implementation
Reviewed-by: serb, aivanov
2026-01-28 19:53:41 +00:00
Prasanta Sadhukhan
1161a640ab 8373239: Test java/awt/print/PrinterJob/PageRanges.java fails with incorrect selection of printed pages
Reviewed-by: prr, aivanov
2026-01-28 06:58:50 +00:00
Brent Christian
e25a5a4821 Merge
Reviewed-by: kcr, prr, smarks
2026-01-21 01:28:38 +00:00
Prasanta Sadhukhan
e45f5656bc 8373650: Test "javax/swing/JMenuItem/6458123/ManualBug6458123.java" fails because the check icons are not aligned properly as expected
Reviewed-by: tr, dnguyen
2026-01-20 07:10:46 +00:00
Harshitha Onkar
eddbd35965 8359501: Enhance Handling of URIs
Reviewed-by: rhalade, ahgross, azvegint, prr
2026-01-18 20:22:55 -08:00
Daniel Gredler
e65ace10e3 6517125: FontStrike.getGlyphVectorOutline() not used
Reviewed-by: prr, serb
2025-12-26 11:58:48 +00:00
Sergey Bylokhov
73a8629c5b 8374310: Update copyright year to 2025 for client-libs in files where it was missed
Reviewed-by: jdv, aivanov
2025-12-25 01:25:29 +00:00
Prasanta Sadhukhan
0e7bc6b092 6681958: Maximization state of JInternalFrames is corrupted by WindowsDesktopManager
Reviewed-by: tr, kizune
2025-12-15 04:52:14 +00:00
Prasanta Sadhukhan
c03d445a8c 6223700: XP L&F: Non-TopLevel JMenu's painting error
Reviewed-by: kizune, dnguyen
2025-12-09 00:34:58 +00:00
Phil Race
7d93cb73c4 8370637: [Windows] Crash if use Graphics after PrintJob.end
Reviewed-by: azvegint, psadhukhan, aivanov
2025-11-05 18:52:26 +00:00
Prasanta Sadhukhan
fc5df4ac8f 8370465: Right to Left Orientation Issues with MenuItem Component
Reviewed-by: kizune, honkar
2025-10-31 03:33:45 +00:00
Alexey Ivanov
a1302e5fbc 8365625: Can't change accelerator colors in Windows L&F
Reviewed-by: psadhukhan, kizune
2025-10-20 18:16:49 +00:00
Daniel Gredler
2407eb0522 8367867: [macosx] Ignorable whitespace in text not removed when printing
Reviewed-by: prr, serb
2025-09-25 10:08:56 +00:00
Alexey Ivanov
22ae137400 8365711: Declare menuBarHeight and hotTrackingOn private
Reviewed-by: serb, prr, kizune
2025-08-28 13:11:20 +00:00
Alexey Ivanov
79d8a34a92 8365708: Add missing @Override annotations to WindowsMenuItemUIAccessor
Reviewed-by: serb, kizune
2025-08-28 13:09:46 +00:00
Phil Race
8e44856992 8365180: Remove sun.awt.windows.WInputMethod.finalize()
Reviewed-by: serb, azvegint
2025-08-22 04:28:56 +00:00
Phil Race
3468c6e5ef 8365389: Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
Reviewed-by: psadhukhan, aivanov, dnguyen
2025-08-21 20:49:04 +00:00
Prasanta Sadhukhan
e29346dbd6 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel
Reviewed-by: prr, kizune, abhiscxk
2025-08-07 16:03:12 +00:00
Phil Race
5cf672e778 8359053: Implement JEP 504 - Remove the Applet API
Reviewed-by: aivanov, kizune, kcr, achung, serb
2025-07-14 20:23:38 +00:00
Anass Baya
44cff9d6ab 8346952: GetGraphicsStressTest.java fails: Native resources unavailable
Reviewed-by: serb
2025-07-07 04:58:17 +00:00
Nikita Gubarkov
251f2ac785 8355904: Use variadic macros for J2dTrace
Reviewed-by: aivanov, serb, prr, avu
2025-06-23 10:52:07 +00:00
Matthias Bläsing
92be7821f5 8353950: Clipboard interaction on Windows is unstable
8332271: Reading data from the clipboard from multiple threads crashes the JVM

Reviewed-by: abhiscxk, dnguyen
2025-06-10 00:21:18 +00:00
Tejesh R
917c1546f3 8139228: JFileChooser renders file names as HTML document
Reviewed-by: prr, serb, aivanov
2025-05-23 16:59:17 +00:00
Nikita Gubarkov
40e7986c41 8355611: Get rid of SurfaceManagerFactory
Reviewed-by: serb, prr
2025-04-28 06:44:16 +00:00
Sergey Bylokhov
477da161e6 8352638: Enhance code consistency: java.desktop/windows
Reviewed-by: prr
2025-04-22 15:50:58 +00:00
Sergey Bylokhov
c7c77eb6aa 8354077: Get rid of offscreenSharingEnabled windows flag
Reviewed-by: prr
2025-04-19 07:48:54 +00:00
Andrey Turbanov
1b4b317aac 8354789: Unnecessary null check in sun.awt.windows.WToolkit.getFontPeer
Reviewed-by: aivanov, tr
2025-04-17 19:19:26 +00:00
Sergey Bylokhov
ed756b9700 8352922: Refactor client classes javadoc to use @throws instead of @exception
Reviewed-by: prr
2025-04-12 23:36:27 +00:00
Daniel Gredler
3757f660f2 8353002: Remove unnecessary Windows version check in WTaskbarPeer
Reviewed-by: prr, serb, aivanov
2025-04-07 19:53:36 +00:00
Daniel Gredler
3d2c3cd40e 8352970: Remove unnecessary Windows version check in Win32ShellFolderManager2
Reviewed-by: prr, serb
2025-03-28 17:22:33 +00:00
Daniel Gredler
d5b12c82fe 8352890: Remove unnecessary Windows version check in FileFontStrike
Reviewed-by: serb, prr
2025-03-28 00:34:41 +00:00
Rajat Mahajan
39cb493c36 8348106: Catch C++ exception in Java_sun_awt_windows_WTaskbarPeer_setOverlayIcon
Reviewed-by: abhiscxk, aivanov, azvegint, serb, dmarkov
2025-02-24 20:21:20 +00:00
anass baya
651ac3cc0f 6899304: java.awt.Toolkit.getScreenInsets(GraphicsConfiguration) returns incorrect values
Reviewed-by: aivanov, honkar, prr, serb
2025-01-31 18:30:01 +00:00