Commit Graph

1620 Commits

Author SHA1 Message Date
Alexander Scherbatiy
15c76e4c02 8301254: UNIX sun/font coding does not detect SuSE in openSUSE Leap distribution
Reviewed-by: prr
2023-03-06 07:40:38 +00:00
Xue-Lei Andrew Fan
e7113dc8a5 8302495: update for deprecated sprintf for java.desktop
Reviewed-by: prr
2023-03-02 18:56:05 +00:00
Prasanta Sadhukhan
dbb5581eba 8081474: SwingWorker calls 'done' before the 'doInBackground' is finished
Reviewed-by: aivanov, serb
2023-02-27 09:19:57 +00:00
Andrey Turbanov
2fb1e3b7e7 8302268: Prefer ArrayList to LinkedList in XEmbeddedFramePeer
Reviewed-by: serb, dnguyen
2023-02-25 13:40:32 +00:00
Andrey Turbanov
1dbd18ac63 8302120: Prefer ArrayList to LinkedList in AggregatePainter
Reviewed-by: serb
2023-02-25 13:38:47 +00:00
Damon Nguyen
1a07871454 8302173: Button border overlaps with button icon on macOS system LaF
Reviewed-by: honkar, psadhukhan
2023-02-23 20:41:25 +00:00
Per Minborg
63ef214328 8302849: SurfaceManager might expose partially constructed object
Reviewed-by: serb
2023-02-22 11:45:51 +00:00
Jayathirth D V
aa10f0d3ee 8302151: BMPImageReader throws an exception reading BMP images
Reviewed-by: serb, tr
2023-02-21 07:30:17 +00:00
Tejesh R
29f392e434 8299522: Incorrect size of Approve button in custom JFileChooser
Reviewed-by: aivanov, abhiscxk, dnguyen
2023-02-21 05:19:07 +00:00
Prasanta Sadhukhan
432cf68c4d 6753661: JFileChooser font not reset after Look & Feel change
Reviewed-by: abhiscxk, aivanov, serb
2023-02-20 08:17:00 +00:00
Julian Waters
e5042dd483 8302671: libawt has a memmove decay error
Reviewed-by: serb, prr, kcr
2023-02-16 18:56:59 +00:00
Tejesh R
84c058bb63 8300549: JFileChooser Approve button tooltip is null in Aqua L&F in CUSTOM_DIALOG mode
Reviewed-by: aivanov, abhiscxk
2023-02-16 11:10:25 +00:00
Prasanta Sadhukhan
0458d3825c 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI
Reviewed-by: serb, aivanov
2023-02-13 08:59:19 +00:00
Sergey Bylokhov
5147969253 8272288: Funky multiresolution image breaks graphics context
Reviewed-by: jdv
2023-02-09 19:22:51 +00:00
SWinxy
597a9a4852 8301822: BasicLookAndFeel does not need to check for null after checking for type
Reviewed-by: serb
2023-02-09 17:46:35 +00:00
Jesper Wilhelmsson
af8973dc50 Merge 2023-02-09 11:59:08 +00:00
Julian Waters
70f3150166 8301443: Clean broken comments from Windows code
Reviewed-by: aivanov
2023-02-09 03:19:42 +00:00
Harshitha Onkar
5561c397c5 8294484: MetalBorder's FrameBorder & DialogBorder have border rendering issues when scaled
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, kizune
2023-02-09 00:44:58 +00:00
Alexander Zuev
e81f20b504 8301989: new javax.swing.text.DefaultCaret().setBlinkRate(N) results in NPE
Reviewed-by: dnguyen, honkar, prr
2023-02-08 23:55:58 +00:00
Andrey Turbanov
9af2ea203d 8301828: Avoid unnecessary array fill after creation in javax.swing.text
Reviewed-by: prr, serb
2023-02-08 14:29:21 +00:00
Julian Waters
0f08785c01 8301756: Missed constructor from 8301659
Reviewed-by: aivanov
2023-02-08 09:10:21 +00:00
Prasanta Sadhukhan
ab528ce3cd 4934362: see also refers to self
Reviewed-by: prr, serb, aivanov
2023-02-06 08:49:53 +00:00
Andrey Turbanov
d67bfe21a2 8301342: Prefer ArrayList to LinkedList in LayoutComparator
Reviewed-by: prr, serb
2023-02-05 08:45:23 +00:00
Phil Race
5962226cc3 8300891: Deprecate for removal javax.swing.plaf.synth.SynthLookAndFeel.load(URL url)
Reviewed-by: serb, aivanov, kizune, psadhukhan
2023-02-03 16:28:03 +00:00
Per Minborg
b504c9411e 8300235: Use VarHandle access in Image(Input | Output)StreamImpl classes
Reviewed-by: rriggs
2023-02-03 07:24:20 +00:00
Andrey Turbanov
406021ad58 8300929: Avoid unnecessary array fill after creation in java.awt.image
Reviewed-by: attila, serb, aivanov
2023-02-03 06:51:54 +00:00
Julian Waters
725d57b2e2 8301659: Resolve initialization reordering issues on Windows for libawt and libsaproc
Reviewed-by: dholmes, aivanov
2023-02-02 15:22:18 +00:00
Jesper Wilhelmsson
561a25e025 Merge 2023-01-30 20:51:54 +00:00
Prasanta Sadhukhan
c2ebd17938 6187113: DefaultListSelectionModel.removeIndexInterval(0, Integer.MAX_VALUE) fails
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov
2023-01-30 07:35:14 +00:00
Sergey Bylokhov
d4e9f5e5f2 8238170: BeanContextSupport remove and propertyChange can deadlock
Reviewed-by: phh
2023-01-29 20:04:37 +00:00
Damon Nguyen
ef6200c727 8300269: The selected item in an editable JComboBox with titled border is not visible in Aqua LAF
Co-authored-by: Manukumar V S <mvs@openjdk.org>
Reviewed-by: psadhukhan, kizune, achung, prr
2023-01-27 23:09:14 +00:00
Jesper Wilhelmsson
5c59de52a3 Merge 2023-01-27 22:46:31 +00:00
Damon Nguyen
a67b1e77d3 8300719: JDK 20 RDP2 L10n resource files update
Reviewed-by: cjplummer, naoto, prr, joehw, asemenyuk, jlu, lancea, ihse, jjg, weijun
2023-01-26 22:33:04 +00:00
ScientificWare
9f0887e205 8296661: Typo Found In CSSParser.java
Reviewed-by: angorya, aivanov, prr
2023-01-25 19:20:39 +00:00
Prasanta Sadhukhan
7465de453a 6603771: Nimbus L&F: Ctrl+F7 keybinding for Jinternal Frame throws a NPE.
Reviewed-by: abhiscxk, serb
2023-01-25 05:48:07 +00:00
Tingjun Yuan
b5ee3d1f2a 8299497: Usage of constructors of primitive wrapper classes should be avoided in java.desktop API docs
Reviewed-by: serb, prr
2023-01-24 01:25:29 +00:00
Andrey Turbanov
f79e587181 8300828: Avoid unnecessary array fill after creation in com.sun.media.sound
Reviewed-by: serb, prr
2023-01-23 21:05:14 +00:00
Prasanta Sadhukhan
11aadc9d98 8244400: MenuItem may cache the size and did not update it when the screen DPI is changed
Reviewed-by: serb, aivanov
2023-01-23 10:18:23 +00:00
Andrey Turbanov
cbfc069f6a 8300731: Avoid unnecessary array fill after creation in PaletteBuilder
Reviewed-by: prr, serb
2023-01-21 19:25:18 +00:00
Sergey Bylokhov
e1ee6727f7 8300725: Improve performance of ColorConvertOp for default destinations with alpha
Reviewed-by: prr
2023-01-21 07:09:00 +00:00
Harshitha Onkar
80ab50b338 8294680: Refactor scaled border rendering
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: rmahajan, achung, aivanov, jdv
2023-01-19 18:43:54 +00:00
Alexey Ivanov
2e4a3c47e2 8293862: javax/swing/JFileChooser/8046391/bug8046391.java failed with 'Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "retVal" is null'
Co-authored-by: Tejesh R <tr@openjdk.org>
Reviewed-by: prr, serb
2023-01-19 13:00:09 +00:00
SWinxy
2e9cb4b1f6 8267582: BasicLookAndFeel should not call getComponentPopupMenu twice to get a popup menu
Reviewed-by: psadhukhan
2023-01-19 05:05:20 +00:00
Sergey Bylokhov
7348b9ec93 8300167: Add validation of the raster's layout before using in native
Reviewed-by: prr
2023-01-19 05:02:12 +00:00
Jesper Wilhelmsson
fc9f8baf56 Merge 2023-01-18 23:29:12 +00:00
Sergey Bylokhov
8b70c432d3 8299772: The ColorModel.getRGBdefault() method is not thread-safe
Reviewed-by: prr
2023-01-18 20:27:30 +00:00
Rajat Mahajan
2a46e07f7d 8286581: Make Java process DPI Aware if sun.java2d.dpiaware property is set
Reviewed-by: aivanov, prr
2023-01-18 18:04:30 +00:00
Andrey Turbanov
85d8bacb0f 8300166: Unused array allocation in ProcessPath.doProcessPath
Reviewed-by: aivanov
2023-01-18 13:23:59 +00:00
Julian Waters
1aded82e54 8300488: Incorrect usage of CATCH_BAD_ALLOC as a macro call
Reviewed-by: aivanov
2023-01-18 13:11:32 +00:00
Jie Fu
15a9186db2 8300169: Build failure with clang-15
Reviewed-by: dholmes, prr
2023-01-18 10:32:00 +00:00
Daniel Jeliński
7c8b99eedb 8300117: Replace use of JNI_COMMIT mode with mode 0
Reviewed-by: serb, prr
2023-01-18 09:29:04 +00:00
Joe Darcy
f9883fc45b 8300279: Use generalized see and link tags in core libs in client libs
Reviewed-by: aivanov, prr
2023-01-17 22:17:34 +00:00
Jayathirth D V
bd324cee9c 8295687: Better BMP bounds
Reviewed-by: rhalade, mschoene, psadhukhan, prr
2023-01-17 20:58:59 +00:00
Alexander Zuev
93161e46e7 8293742: Better Banking of Sounds
Reviewed-by: rhalade, azvegint, prr
2023-01-17 20:58:59 +00:00
Prasanta Sadhukhan
d6b1513233 8293717: Objective view of ObjectView
Reviewed-by: kizune, rhalade, prr, azvegint, skoivu
2023-01-17 20:58:58 +00:00
Jayathirth D V
3364c460a4 8293734: Improve BMP image handling
Reviewed-by: kizune, prr, azvegint, rhalade, mschoene
2023-01-17 20:58:58 +00:00
Phil Race
5aae8226fc 8288516: Enhance font creation
Reviewed-by: psadhukhan, azvegint, rhalade, mschoene
2023-01-17 20:58:58 +00:00
SWinxy
8c12ae8673 8283203: Fix typo in SystemTray.getTrayIconSize javadoc
Reviewed-by: aivanov
2023-01-17 17:30:25 +00:00
Abhishek Kumar
07d5753172 8300168: Typo in AccessibleJTableHeaderEntry javadoc
Reviewed-by: psadhukhan, tr
2023-01-17 10:40:19 +00:00
Tejesh R
8365c6775c 8300084: AquaFileChooserUI.getDefaultButton returns null
Reviewed-by: aivanov, serb
2023-01-17 04:44:42 +00:00
Magnus Ihse Bursie
4073b68565 8298047: Remove all non-significant trailing whitespace from properties files
Reviewed-by: serb, rriggs
2023-01-16 18:53:54 +00:00
Artem Semenov
8cb25d3de4 8298644: JNI call of getCurrentComponent on a wrong thread
Reviewed-by: avu, serb, kizune
2023-01-13 19:39:56 +00:00
Sergey Bylokhov
78b1686c15 8227257: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError
Reviewed-by: aivanov, tr
2023-01-12 01:52:56 +00:00
Jesper Wilhelmsson
33f3bd8fad Merge 2023-01-11 21:50:42 +00:00
Abhishek Kumar
0abb87a488 8299227: host exif.org not found in link in doc comment
Reviewed-by: prr, serb
2023-01-11 07:42:42 +00:00
Daniel Jeliński
f95346e870 8299261: Clean up AWT D3D exports
Reviewed-by: serb, aivanov
2023-01-10 07:11:24 +00:00
Prasanta Sadhukhan
4072412c1f 8298876: Swing applications do not get repainted coming out of sleep on Windows 10
Reviewed-by: angorya, prr
2023-01-09 10:14:06 +00:00
Abhishek Kumar
c4449224bb 8218474: JComboBox display issue with GTKLookAndFeel
Reviewed-by: tr, serb
2023-01-09 04:47:33 +00:00
SWinxy
7607c07e00 8299774: SYNTH_BUTTON_UI_KEY field is unused
Reviewed-by: serb
2023-01-09 02:14:43 +00:00
Sergey Bylokhov
7310131409 8299337: The java.awt.image.ColorModel#pData field is unused
Reviewed-by: prr
2023-01-06 23:09:07 +00:00
Sergey Bylokhov
4a95c74b76 8299425: "LCMSImageLayout.isIntPacked" flag can be deleted
Reviewed-by: prr
2023-01-06 20:17:10 +00:00
Andrey Turbanov
0234f813e6 8298447: Unnecessary Vector usage in DocPrintJob implementations
Reviewed-by: serb
2023-01-06 08:29:47 +00:00
Sergey Bylokhov
b5b7948d9b 8298240: Replace the usage of ImageLayoutException by the CMMException
Reviewed-by: prr
2023-01-06 08:04:51 +00:00
Artem Semenov
775da84a84 8299412: JNI call of getAccessibleActionCount on a wrong thread
Reviewed-by: prr, serb
2023-01-06 07:09:05 +00:00
Andrey Turbanov
b908388e81 8298449: Unnecessary Vector usage in MetaData.ProxyPersistenceDelegate
Reviewed-by: serb
2023-01-05 16:49:23 +00:00
Sergey Bylokhov
e7361cb746 8299430: Cleanup: delete unnecessary semicolons in java.desktop module
Reviewed-by: stsypanov, aghaisas, iris
2023-01-05 08:47:21 +00:00
Abhishek Kumar
578c287a68 8081507: Open or Save button in JFileChooser has OK title in GTK LaF
Reviewed-by: serb, tr
2023-01-04 22:45:39 +00:00
Prasanta Sadhukhan
77ff197746 7030853: JDK 7 Serializable Swing classes not compatible with JDK 6
Reviewed-by: serb, aivanov
2023-01-04 03:26:32 +00:00
Prasanta Sadhukhan
18ff1f5a05 6257207: JTable.getDefaultEditor throws NullPointerException
Reviewed-by: tr, dnguyen, aivanov, serb
2023-01-02 09:49:51 +00:00
Abhishek Kumar
2ee34f1488 4912623: GTK L&F: Folder list of the JFileChooser is allowing multiple selection unlike native
Reviewed-by: psadhukhan, jdv, serb
2023-01-02 06:03:12 +00:00
Toshio Nakamura
26868c1ac4 8299255: Unexpected round errors in FreetypeFontScaler
Reviewed-by: prr, serb
2022-12-24 14:26:42 +00:00
Artem Semenov
5e861e3965 8298645: JNI works with accessibleSelection on a wrong thread
Reviewed-by: serb, kizune
2022-12-23 22:28:41 +00:00
Artem Semenov
fd746a2fe0 8298643: JNI call of getAccessibleRowWithIndex and getAccessibleColumnWithIndex on a wrong thread
Reviewed-by: serb, kizune
2022-12-23 22:07:14 +00:00
Jesper Wilhelmsson
19ce23c645 Merge 2022-12-23 11:25:10 +00:00
Andrey Turbanov
b378381a9c 8299199: Avoid redundant split calls in FontConfiguration.initReorderMap implementations
Reviewed-by: aivanov
2022-12-22 19:09:37 +00:00
Sergey Bylokhov
50120396b6 8298887: On the latest macOS+XCode the Robot API may report wrong colors
Reviewed-by: azvegint
2022-12-22 07:20:06 +00:00
Alexander Zuev
fef70d78ba 8299077: [REDO] JDK-4512626 Non-editable JTextArea provides no visual indication of keyboard focus
8299127: [REDO] JDK-8194048 Regression automated test '/open/test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java' fails
8299128: [REDO] JDK-8213562 Test javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java fails

Reviewed-by: aivanov, azvegint
2022-12-22 00:12:15 +00:00
Matthias Baesken
f36e144923 8299025: BMPImageReader.java readColorPalette could use staggeredReadByteStream
Reviewed-by: clanger
2022-12-21 08:05:37 +00:00
Jesper Wilhelmsson
386db07143 Merge 2022-12-20 20:20:17 +00:00
Daniel D. Daugherty
f4d7f43394 8299123: [BACKOUT] 4512626 Non-editable JTextArea provides no visual indication of keyboard focus
Reviewed-by: tschatzl
2022-12-20 16:20:50 +00:00
Jesper Wilhelmsson
c5a4a7a679 Merge 2022-12-20 11:40:56 +00:00
Phil Race
05f9e7676e 8298974: Add ftcolor.c to imported freetype sources
Reviewed-by: serb
2022-12-19 23:32:58 +00:00
Alexander Zuev
3e17e3c1c1 4512626: Non-editable JTextArea provides no visual indication of keyboard focus
8194048: Regression automated test '/open/test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java' fails
8213562: Test javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java fails

Reviewed-by: aivanov, azvegint
2022-12-19 22:16:56 +00:00
Ajit Ghaisas
3b7970cab3 8298217: Regressions 30-110% in SwingMark on MacOS, more so on aarch64
Reviewed-by: avu, prr, jdv
2022-12-17 06:37:18 +00:00
Jaikiran Pai
fa322e40b6 8298709: Fix typos in src/java.desktop/ and various test classes of client component
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: iris, prr
2022-12-16 07:10:36 +00:00
Sergey Bylokhov
03a694afda 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working
Reviewed-by: prr
Backport-of: 5540a8c5b7
2022-12-16 06:33:08 +00:00
Matthias Baesken
98fa48c330 8298093: improve cleanup and error handling of awt_parseColorModel in awt_parseImage.c
Reviewed-by: lucy, clanger
2022-12-15 08:11:09 +00:00
Prasanta Sadhukhan
3b1142a280 8298618: Typo in JPEGImageReader and JPEGImageWriter
Reviewed-by: iris, jdv, abhiscxk
2022-12-13 10:21:57 +00:00
Xue-Lei Andrew Fan
478ef389dc 8296812: sprintf is deprecated in Xcode 14
Reviewed-by: stuefe, prr, kbarrett, lucy
2022-12-09 22:37:20 +00:00
Sergey Tsypanov
e3c6cf8eaf 8298380: Clean up redundant array length checks in JDK code base
Reviewed-by: dholmes, amenkov, serb, vtewari
2022-12-09 12:50:55 +00:00