Re: RFR: 8307078: Opensource and clean up five more AWT Focus related tests

2023-04-27 Thread Alexander Zuev
On Fri, 28 Apr 2023 05:21:56 GMT, Sergey Bylokhov wrote: > Looks fine, please confirm that mach5 is green. Mach5 is green. - PR Comment: https://git.openjdk.org/jdk/pull/13710#issuecomment-1527011667

Re: RFR: 8307079: Update test java/awt/Choice/DragOffNoSelect.java

2023-04-27 Thread Sergey Bylokhov
On Thu, 27 Apr 2023 22:46:41 GMT, Phil Race wrote: > Small update to a test Marked as reviewed by serb (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/13705#pullrequestreview-1405245552

Re: RFR: 8307078: Opensource and clean up five more AWT Focus related tests

2023-04-27 Thread Sergey Bylokhov
On Fri, 28 Apr 2023 05:12:50 GMT, Alexander Zuev wrote: > Cleaned up and ready to opensource: > java/awt/Focus/FocusForRemovedComponentTest > java/awt/Focus/FocusTraversalPolicyIAE > java/awt/Focus/InitialFocusTest > java/awt/Focus/LabelScrollbar > java/awt/Focus/ModalDialogInFocusEventTest Look

RFR: 8307078: Opensource and clean up five more AWT Focus related tests

2023-04-27 Thread Alexander Zuev
Cleaned up and ready to opensource: java/awt/Focus/FocusForRemovedComponentTest java/awt/Focus/FocusTraversalPolicyIAE java/awt/Focus/InitialFocusTest java/awt/Focus/LabelScrollbar java/awt/Focus/ModalDialogInFocusEventTest - Commit messages: - 8307078: Opensource and clean up five m

Re: RFR: 8303796: Optionally build fully statically linked JDK image

2023-04-27 Thread David Holmes
On Fri, 28 Apr 2023 01:03:28 GMT, Jiangli Zhou wrote: > Initial implementation for supporting building a fully statically linked > (with a desired set of JDK native libraries and libjvm) Java launcher > executable, which is named as 'javastatic'. > > In this PR, the support is only added for t

Re: RFR: 8306640: Open source several AWT TextArea related tests

2023-04-27 Thread Sergey Bylokhov
On Wed, 26 Apr 2023 14:23:27 GMT, Tejesh R wrote: > Open source few AWT TextArea related tests. Marked as reviewed by serb (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/13670#pullrequestreview-1405220644

RFR: 8303796: Optionally build fully statically linked JDK image

2023-04-27 Thread Jiangli Zhou
Initial implementation for supporting building a fully statically linked (with a desired set of JDK native libraries and libjvm) Java launcher executable, which is named as 'javastatic'. In this PR, the support is only added for the linux platform. Both gcc and clang can be supported. For curre

Re: RFR: 8307079: Update test java/awt/Choice/DragOffNoSelect.java

2023-04-27 Thread Alexander Zvegintsev
On Thu, 27 Apr 2023 22:46:41 GMT, Phil Race wrote: > Small update to a test Marked as reviewed by azvegint (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/13705#pullrequestreview-1405069181

RFR: 8306954: Open source five Focus related tests

2023-04-27 Thread Alexander Zuev
Cleaning up tests: AsyncUpFocusCycleTest.java ClearMostRecentFocusOwnerTest.java ConsumedTabKeyTest.java, EventRetargetTest.java ExtraPropChangeNotifVetoingTest.java - Commit messages: - 8306954: Open source five Focus related tests Changes: https://git.openjdk.org/jdk/pull/13707/f

Re: RFR: 7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color [v9]

2023-04-27 Thread Sergey Bylokhov
On Thu, 23 Mar 2023 19:55:39 GMT, Damon Nguyen wrote: >> Before the fix, a JComboBox in Nimbus L&F would have normal black text even >> when the JComboBox was disabled if SynthComboBoxRenderer was replaced with a >> DefaultListCellRenderer. This text should be greyed out like in other L&F's. >

RFR: 8307079: Update test java/awt/Choice/DragOffNoSelect.java

2023-04-27 Thread Phil Race
Small update to a test - Commit messages: - 8307079 Changes: https://git.openjdk.org/jdk/pull/13705/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13705&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8307079 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Pa

Re: RFR: 8306432: Open source several AWT Text Component related tests

2023-04-27 Thread Phil Race
On Thu, 27 Apr 2023 16:50:17 GMT, Tejesh R wrote: > Open source few AWT Text Component related tests. Marked as reviewed by prr (Reviewer). test/jdk/java/awt/TextComponent/DeselectionDuringDoSelectionNonVisibleTest.java line 30: > 28: @key headful > 29: @requires (os.family == "mac") | (o

Re: RFR: 8306640: Open source several AWT TextArea related tests

2023-04-27 Thread Phil Race
On Wed, 26 Apr 2023 14:23:27 GMT, Tejesh R wrote: > Open source few AWT TextArea related tests. Marked as reviewed by prr (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/13670#pullrequestreview-1404948060

RFR: JDK-8294427 - Check boxes and radio buttons have rendering issues on Windows in High DPI env

2023-04-27 Thread Rajat Mahajan
Problem: Check boxes and radio buttons in Windows Look-and-Feel have rendering issues when window is moved from display with one scale to display with a different scale on a multi-monitor setup: - Scrawly ticks in checkboxes; - Wrong circle relations in selected radio buttons. Root-cause: We o

Re: RFR: 8306320: BufferedImage spec needs clarification w.r.t its implementation of the WritableRenderedImage interface [v3]

2023-04-27 Thread Phil Race
On Thu, 27 Apr 2023 13:18:24 GMT, Martin Desruisseaux wrote: >> `BufferedImage` implements the `WritableRenderedImage` interface. But the >> Javadoc is copied from `WritableRenderedImage`, while `BufferedImage` does >> something quite different. In particular, `TileObserver` are ignored. This

RFR: 8306432: Open source several AWT Text Component related tests

2023-04-27 Thread Tejesh R
Open source few AWT Text Component related tests. - Commit messages: - Updated - Updated - Open sourced TextComponent tests Changes: https://git.openjdk.org/jdk/pull/13695/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13695&range=00 Issue: https://bugs.openjdk.org/brow

Integrated: 8306850: Open source AWT Model related tests

2023-04-27 Thread Abhishek Kumar
On Wed, 26 Apr 2023 19:48:00 GMT, Abhishek Kumar wrote: > This PR is to open source Modal related AWT tests. This pull request has now been integrated. Changeset: 41ba05e4 Author:Abhishek Kumar URL: https://git.openjdk.org/jdk/commit/41ba05e450ed4467535bcee81946099e38665c3f Stats:

Integrated: 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher

2023-04-27 Thread Jiangli Zhou
On Thu, 27 Apr 2023 00:12:58 GMT, Jiangli Zhou wrote: > Resolve misc symbol issues observed when statically linking JDK/VM natives > with the standard Java launcher executable. Use the same approaches adopted > by earlier fixes for static linking related symbol problems (e.g. > JDK-8306033): >

Re: RFR: 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher

2023-04-27 Thread Jiangli Zhou
On Thu, 27 Apr 2023 00:12:58 GMT, Jiangli Zhou wrote: > Resolve misc symbol issues observed when statically linking JDK/VM natives > with the standard Java launcher executable. Use the same approaches adopted > by earlier fixes for static linking related symbol problems (e.g. > JDK-8306033): >

Re: RFR: 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher

2023-04-27 Thread Alan Bateman
On Thu, 27 Apr 2023 00:12:58 GMT, Jiangli Zhou wrote: > Resolve misc symbol issues observed when statically linking JDK/VM natives > with the standard Java launcher executable. Use the same approaches adopted > by earlier fixes for static linking related symbol problems (e.g. > JDK-8306033): >

Re: RFR: 8306850: Open source AWT Model related tests

2023-04-27 Thread Alexander Zvegintsev
On Wed, 26 Apr 2023 19:48:00 GMT, Abhishek Kumar wrote: > This PR is to open source Modal related AWT tests. Marked as reviewed by azvegint (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/13676#pullrequestreview-1404036518

Re: RFR: 8306320: BufferedImage spec needs clarification w.r.t its implementation of the WritableRenderedImage interface [v2]

2023-04-27 Thread Martin Desruisseaux
On Tue, 25 Apr 2023 22:46:57 GMT, Phil Race wrote: >> Martin Desruisseaux has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Update documentation for adressing comment on pull requests, with two >> changes to be discussed: >> >> - The

Re: RFR: 8306320: BufferedImage spec needs clarification w.r.t its implementation of the WritableRenderedImage interface [v3]

2023-04-27 Thread Martin Desruisseaux
> `BufferedImage` implements the `WritableRenderedImage` interface. But the > Javadoc is copied from `WritableRenderedImage`, while `BufferedImage` does > something quite different. In particular, `TileObserver` are ignored. This > pull request add `@implSlec` for explaining the default behaviou

Re: RFR: 8306137: Open source several AWT ScrollPane related tests [v2]

2023-04-27 Thread Alexey Ivanov
On Wed, 26 Apr 2023 16:45:57 GMT, Tejesh R wrote: >> test/jdk/java/awt/ScrollPane/ScrollPaneRemoveAdd.java line 121: >> >>> 119: volatile boolean state = false; >>> 120: Object lock = new Object(); >>> 121: volatile int waiting = 0; >> >> Why are both `state` and `waitin

Re: RFR: 8306137: Open source several AWT ScrollPane related tests [v4]

2023-04-27 Thread Alexey Ivanov
On Thu, 27 Apr 2023 06:28:23 GMT, Tejesh R wrote: >> Open source few AWT ScrollPane related tests. > > Tejesh R has updated the pull request incrementally with one additional > commit since the last revision: > > Updated based on review comments test/jdk/java/awt/ScrollPane/ComponentScrollTe

Re: RFR: 8306137: Open source several AWT ScrollPane related tests [v4]

2023-04-27 Thread Andrey Turbanov
On Thu, 27 Apr 2023 06:28:23 GMT, Tejesh R wrote: >> Open source few AWT ScrollPane related tests. > > Tejesh R has updated the pull request incrementally with one additional > commit since the last revision: > > Updated based on review comments test/jdk/java/awt/ScrollPane/ScrollPaneWindows

Re: RFR: 8306466: Open source more AWT Drag & Drop related tests [v2]

2023-04-27 Thread Andrey Turbanov
On Tue, 25 Apr 2023 23:16:33 GMT, Damon Nguyen wrote: >> This PR open sources a few more AWT DnD related tests > > Damon Nguyen has updated the pull request incrementally with one additional > commit since the last revision: > > Remove extra folders test/jdk/java/awt/dnd/SkipDropCompleteTest

Re: RFR: 8306638: Open source some AWT tests related to datatransfer and Toolkit

2023-04-27 Thread Andrey Turbanov
On Tue, 25 Apr 2023 13:48:16 GMT, Jayathirth D V wrote: > This PR open sources some tests related to AWT datatransfer and Toolkit. test/jdk/java/awt/datatransfer/CRLFTest/CRLFTest.java line 192: > 190: // the variable finished is set to true. > 191: pres.

Re: RFR: 8306640: Open source several AWT TextArea related tests

2023-04-27 Thread Tejesh R
On Thu, 27 Apr 2023 07:28:37 GMT, Tejesh R wrote: >> I suggest checking and deleting this if the tests will work fine. > > Ok, will check that. The is is failing for both linux and macos. Maybe because of `\r\n` direct check, so better to leave the test for windows alone. - PR Rev

Re: RFR: 8305578: X11GraphicsDevice.pGetBounds() is slow in remote X11 sessions [v5]

2023-04-27 Thread Maxim Kartashev
On Wed, 26 Apr 2023 22:09:30 GMT, Sergey Bylokhov wrote: > Is it possible to set insets in the device constructor I would very much like to delay getting the insets until they are actually needed. The device construction is already happening at the time when lots of info is being fetched from

Re: RFR: 8306640: Open source several AWT TextArea related tests

2023-04-27 Thread Sergey Bylokhov
On Thu, 27 Apr 2023 06:15:53 GMT, Tejesh R wrote: >> test/jdk/java/awt/TextArea/ReplaceRangeTest.java line 26: >> >>> 24: @test >>> 25: @bug 5025532 >>> 26: @requires (os.family == "windows") >> >> Is this test can pass on windows only or we can run it on all platform? > > The bug was rai

Re: RFR: 8306640: Open source several AWT TextArea related tests

2023-04-27 Thread Tejesh R
On Thu, 27 Apr 2023 07:20:22 GMT, Sergey Bylokhov wrote: >> The bug was raised for windows alone, I think the test can be run on all >> platforms, haven't checked though. > > I suggest checking and deleting this if the tests will work fine. Ok, will check that. - PR Review Comment

Re: RFR: 8306466: Open source more AWT Drag & Drop related tests [v2]

2023-04-27 Thread Sergey Bylokhov
On Wed, 26 Apr 2023 17:57:47 GMT, Phil Race wrote: >> test/jdk/java/awt/dnd/RejectDragDropActionTest.java line 114: >> >>> 112: } >>> 113: >>> 114: if (incorrectActionDetected) { >> >> incorrectActionDetected is set on one thread an used on another, same for >> "frame" in othe

Re: RFR: 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher

2023-04-27 Thread Sergey Bylokhov
On Thu, 27 Apr 2023 00:12:58 GMT, Jiangli Zhou wrote: > Resolve misc symbol issues observed when statically linking JDK/VM natives > with the standard Java launcher executable. Use the same approaches adopted > by earlier fixes for static linking related symbol problems (e.g. > JDK-8306033): >

Integrated: 6995195: Static initialization deadlock in sun.java2d.loops.Blit and GraphicsPrimitiveMgr

2023-04-27 Thread Dmitry Cherepanov
On Thu, 13 Apr 2023 13:03:37 GMT, Dmitry Cherepanov wrote: > This PR suggests to move generalPrimitives array to a new static nested > GeneralPrimitives class to eliminate the possible deadlock. The Blit class > (and other classes that register as general primitives) calls to > GeneralPrimiti

Re: RFR: 8306133: Open source few AWT Drag & Drop related tests [v2]

2023-04-27 Thread Sergey Bylokhov
On Tue, 25 Apr 2023 16:19:15 GMT, Damon Nguyen wrote: >> it is fine to call dispose here on the main, but the frame possibly can be >> null here. > > I have updated the tests to all dispose on the EDT just in case. The problem is not in the "dispose" but in the next check "frame != null" the f

Re: RFR: 6995195: Static initialization deadlock in sun.java2d.loops.Blit and GraphicsPrimitiveMgr [v4]

2023-04-27 Thread Dmitry Cherepanov
On Mon, 17 Apr 2023 08:14:13 GMT, Dmitry Cherepanov wrote: >> This PR suggests to move generalPrimitives array to a new static nested >> GeneralPrimitives class to eliminate the possible deadlock. The Blit class >> (and other classes that register as general primitives) calls to >> GeneralPri