Re: RFR: JDK-8339962 : Open source AWT TextField tests - Set1 [v3]

2024-09-17 Thread Jayathirth D V
On Mon, 16 Sep 2024 22:59:35 GMT, Harshitha Onkar wrote: >> Following test are open-sourced. >> >> 1. test/jdk/java/awt/Label/ContainerValidateTest.java - Automated >> 2. test/jdk/java/awt/TextField/SetEchoCharTest.java - Automated >> 3. test/jdk/java/awt/TextField/SetEchoCharWordOpsTest.j

Re: RFR: 8339984: Open source AWT MenuItem related tests [v2]

2024-09-17 Thread Abhishek Kumar
> Few AWT MenuItem related tests are converted from applet to manual and moved > to open. Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision: Review comment fix - Changes: - all: https://git.openjdk.org/jdk/pull/21029/f

Re: RFR: 8339984: Open source AWT MenuItem related tests [v2]

2024-09-17 Thread Abhishek Kumar
On Tue, 17 Sep 2024 19:00:55 GMT, Alexey Ivanov wrote: >> Abhishek Kumar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review comment fix > > test/jdk/java/awt/MenuItem/LotsOfMenuItemsTest.java line 48: > >> 46: private static fin

Re: RFR: 8339906: Open source several AWT focus tests - series 4 [v3]

2024-09-17 Thread Prasanta Sadhukhan
> Opensource few Focus tests Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: jcheck - Changes: - all: https://git.openjdk.org/jdk/pull/21051/files - new: https://git.openjdk.org/jdk/pull/21051/files/0d9821fb..5

Integrated: 8340015: Open source several AWT focus tests - series 7

2024-09-17 Thread Prasanta Sadhukhan
On Mon, 16 Sep 2024 04:16:01 GMT, Prasanta Sadhukhan wrote: > Opensource few AWT focus tests This pull request has now been integrated. Changeset: 147e3007 Author:Prasanta Sadhukhan URL: https://git.openjdk.org/jdk/commit/147e30070d8adbe65453a3a9316b9324890ea25f Stats: 266 line

Re: RFR: 8339984: Open source AWT MenuItem related tests [v3]

2024-09-17 Thread Abhishek Kumar
> Few AWT MenuItem related tests are converted from applet to manual and moved > to open. Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision: Add requires tag - Changes: - all: https://git.openjdk.org/jdk/pull/21029/fil

RFR: 8339906: Open source several AWT focus tests - series 4

2024-09-17 Thread Prasanta Sadhukhan
Opensource few Focus tests - Commit messages: - 8339906: Open source several AWT focus tests - series 4 Changes: https://git.openjdk.org/jdk/pull/21051/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21051&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8339906 Stat

Re: RFR: 8340015: Open source several AWT focus tests - series 7 [v3]

2024-09-17 Thread Harshitha Onkar
On Wed, 18 Sep 2024 03:18:47 GMT, Prasanta Sadhukhan wrote: >> Opensource few AWT focus tests > > Prasanta Sadhukhan has updated the pull request incrementally with one > additional commit since the last revision: > > Review comments Marked as reviewed by honkar (Reviewer). -

Re: RFR: 8339906: Open source several AWT focus tests - series 4 [v2]

2024-09-17 Thread Prasanta Sadhukhan
> Opensource few Focus tests Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Test automated - Changes: - all: https://git.openjdk.org/jdk/pull/21051/files - new: https://git.openjdk.org/jdk/pull/21051/files/42a

RFR: 8340084: Open source AWT Frame related tests

2024-09-17 Thread Abhishek Kumar
Few AWT Frame related tests are converted from applet to manual and moved to open. - Commit messages: - Tests converted from applet and open sourced Changes: https://git.openjdk.org/jdk/pull/21052/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21052&range=00 Issue: http

Re: RFR: 8340007: Refactor KeyEvent/FunctionKeyTest.java

2024-09-17 Thread Alexander Zvegintsev
On Mon, 16 Sep 2024 09:55:19 GMT, Alexey Ivanov wrote: > This changeset refactors `java/awt/event/KeyEvent/FunctionKeyTest.java`. > > Key changes: > > - Use `CyclicBarrier` to verify whether a key is pressed and released; > - Use `CountDownLatch` for frame activation; > - Ensure thread-safety f

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v2]

2024-09-17 Thread Alexander Zvegintsev
On Mon, 16 Sep 2024 21:38:36 GMT, Harshitha Onkar wrote: >> `positionTestUI()` option is added to PassFailJFrame (PFJ). >> >> With this change multiple UI can be positioned using the PFJ new builder >> pattern by providing implementation for the Functional Interface >> `PositionWindows.positio

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v2]

2024-09-17 Thread Alexey Ivanov
On Mon, 16 Sep 2024 21:38:36 GMT, Harshitha Onkar wrote: >> `positionTestUI()` option is added to PassFailJFrame (PFJ). >> >> With this change multiple UI can be positioned using the PFJ new builder >> pattern by providing implementation for the Functional Interface >> `PositionWindows.positio

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v2]

2024-09-17 Thread Alexey Ivanov
On Mon, 16 Sep 2024 21:31:24 GMT, Harshitha Onkar wrote: >> Harshitha Onkar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> removed errorenous check > > test/jdk/java/awt/regtesthelpers/PassFailJFrame.java line 1277: > >> 1275:

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v2]

2024-09-17 Thread Alexey Ivanov
On Mon, 16 Sep 2024 21:38:36 GMT, Harshitha Onkar wrote: >> `positionTestUI()` option is added to PassFailJFrame (PFJ). >> >> With this change multiple UI can be positioned using the PFJ new builder >> pattern by providing implementation for the Functional Interface >> `PositionWindows.positio

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v2]

2024-09-17 Thread Alexey Ivanov
On Tue, 17 Sep 2024 08:38:13 GMT, Alexander Zvegintsev wrote: > I think that this can be improved by adding some predefined positionTestUI > functions, like in the #15721 (we can borrow them from it). I agree that we should — and *we will*. Yet I don't see missing default layouts as stopper f

RFR: 8340306: Add border around instructions in PassFailJFrame

2024-09-17 Thread Alexey Ivanov
A trivial change which adds border around instruction text. It makes the text easier to read. - Commit messages: - 8340306: Add border around instructions in PassFailJFrame Changes: https://git.openjdk.org/jdk/pull/21038/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=2103

Re: RFR: 8340306: Add border around instructions in PassFailJFrame

2024-09-17 Thread Alexey Ivanov
On Tue, 17 Sep 2024 12:39:20 GMT, Alexey Ivanov wrote: > A trivial change which adds border around instruction text. It makes the text > easier to read. **Updated look:** ![Screenshot of PrintLatinCJKTest with border around text](https://github.com/user-attachments/assets/93311a78-6339-42f0-9

RFR: 8340308: PassFailJFrame: Make rows default to number of lines in instructions

2024-09-17 Thread Alexey Ivanov
It has become quite common to use the following code .rows((int) INSTRUCTIONS.lines().count() + 1) to set the number of rows for `PassFailJFrame`. Make this the default value. Newer tests could drop `.rows` from builder configuration if the new default works well. If a test needs customising

Re: RFR: 8340308: PassFailJFrame: Make rows default to number of lines in instructions

2024-09-17 Thread Alexey Ivanov
On Tue, 17 Sep 2024 13:45:06 GMT, Alexey Ivanov wrote: > It has become quite common to use the following code > > > .rows((int) INSTRUCTIONS.lines().count() + 1) > > > to set the number of rows for `PassFailJFrame`. > > Make this the default value. Newer tests could drop `.rows` from builder

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v2]

2024-09-17 Thread Alexey Ivanov
On Mon, 16 Sep 2024 21:38:36 GMT, Harshitha Onkar wrote: >> `positionTestUI()` option is added to PassFailJFrame (PFJ). >> >> With this change multiple UI can be positioned using the PFJ new builder >> pattern by providing implementation for the Functional Interface >> `PositionWindows.positio

Re: RFR: 8339845: Update color.org and wapforum.org links to use HTTPS instead of HTTP

2024-09-17 Thread duke
On Fri, 13 Sep 2024 15:01:23 GMT, Nizar Benalla wrote: > Can I get a review for this doc-only change? I updated some links because the > websites moved from HTTP to HTTPS. The redirects can cause some > false-positives on tests. > > TIA @nizarbenalla Your change (at version 06086104bf40bb76b

Re: RFR: 8333403: Write a test to check various components events are triggered properly [v8]

2024-09-17 Thread Ravi Gupta
> This testcase checks for the following assertions for Component events: > > 1. When components are resized, moved, hidden and shown the respective events > are triggered. > 2. When the components are hidden/disabled also,the component events like > resized/moved are triggered. > 3. When a hidd

Re: RFR: 8333403: Write a test to check various components events are triggered properly [v7]

2024-09-17 Thread Ravi Gupta
On Wed, 4 Sep 2024 15:04:25 GMT, Alexey Ivanov wrote: >> Ravi Gupta has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8333403: Review comments fixed > > test/jdk/java/awt/event/ComponentEvent/ComponentEventTest.java line 157: > >> 155:

Re: RFR: 8340306: Add border around instructions in PassFailJFrame

2024-09-17 Thread lawrence . andrews
On Tue, 17 Sep 2024 12:52:46 GMT, Alexey Ivanov wrote: >> A trivial change which adds border around instruction text. It makes the >> text easier to read. >> >> (In some tests, people added leading spaces to each line to make the >> instructions easier to read; with the added border, there's n

Re: RFR: 8333403: Write a test to check various components events are triggered properly [v9]

2024-09-17 Thread Ravi Gupta
> This testcase checks for the following assertions for Component events: > > 1. When components are resized, moved, hidden and shown the respective events > are triggered. > 2. When the components are hidden/disabled also,the component events like > resized/moved are triggered. > 3. When a hidd

Re: RFR: 8333403: Write a test to check various components events are triggered properly [v7]

2024-09-17 Thread Ravi Gupta
On Wed, 4 Sep 2024 14:50:58 GMT, Alexey Ivanov wrote: >> Ravi Gupta has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8333403: Review comments fixed > > test/jdk/java/awt/event/ComponentEvent/ComponentEventTest.java line 67: > >> 65:

Re: RFR: 8333403: Write a test to check various components events are triggered properly [v6]

2024-09-17 Thread Ravi Gupta
On Wed, 4 Sep 2024 15:54:16 GMT, Alexey Ivanov wrote: >> Here we expect events should not triggered. >> >> When inconify i expect all events should not triggered , but when form >> Frame.ICONIFIED to Frame.NORMAL componentMoved and componentResized events >> are triggered , Events order on Win

Re: RFR: 8333403: Write a test to check various components events are triggered properly [v9]

2024-09-17 Thread Alexey Ivanov
On Tue, 17 Sep 2024 16:19:27 GMT, Ravi Gupta wrote: >> This testcase checks for the following assertions for Component events: >> >> 1. When components are resized, moved, hidden and shown the respective >> events are triggered. >> 2. When the components are hidden/disabled also,the component e

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v3]

2024-09-17 Thread Harshitha Onkar
> `positionTestUI()` option is added to PassFailJFrame (PFJ). > > With this change multiple UI can be positioned using the PFJ new builder > pattern by providing implementation for the Functional Interface > `PositionWindows.positionTestWindows(List > testWindows,InstructionUI instructionUI)` i

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v3]

2024-09-17 Thread Alexey Ivanov
On Tue, 17 Sep 2024 17:25:34 GMT, Harshitha Onkar wrote: >> `positionTestUI()` option is added to PassFailJFrame (PFJ). >> >> With this change multiple UI can be positioned using the PFJ new builder >> pattern by providing implementation for the Functional Interface >> `PositionWindows.positio

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v2]

2024-09-17 Thread Harshitha Onkar
On Tue, 17 Sep 2024 09:21:24 GMT, Alexey Ivanov wrote: >> Harshitha Onkar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> removed errorenous check > > test/jdk/java/awt/regtesthelpers/PassFailJFrame.java line 1264: > >> 1262: *

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v3]

2024-09-17 Thread Harshitha Onkar
On Tue, 17 Sep 2024 17:28:26 GMT, Harshitha Onkar wrote: >> `positionTestUI()` option is added to PassFailJFrame (PFJ). >> >> With this change multiple UI can be positioned using the PFJ new builder >> pattern by providing implementation for the Functional Interface >> `PositionWindows.positio

Re: RFR: 8340306: Add border around instructions in PassFailJFrame

2024-09-17 Thread Harshitha Onkar
On Tue, 17 Sep 2024 12:39:20 GMT, Alexey Ivanov wrote: > A trivial change which adds border around instruction text. It makes the text > easier to read. > > (In some tests, people added leading spaces to each line to make the > instructions easier to read; with the added border, there's no nee

Re: RFR: 8340308: PassFailJFrame: Make rows default to number of lines in instructions

2024-09-17 Thread Harshitha Onkar
On Tue, 17 Sep 2024 13:45:06 GMT, Alexey Ivanov wrote: > It has become quite common to use the following code > > > .rows((int) INSTRUCTIONS.lines().count() + 1) > > > to set the number of rows for `PassFailJFrame`. > > Make this the default value. Newer tests could drop `.rows` from builder

RFR: 8340078: Open source several 2D tests

2024-09-17 Thread Phil Race
Open source 5 Java2D related rendering tests. - Commit messages: - 8340078 Changes: https://git.openjdk.org/jdk/pull/21045/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21045&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8340078 Stats: 484 lines in 5 files chang

Re: RFR: JDK-8339962 : Open source AWT TextField tests - Set1 [v3]

2024-09-17 Thread Harshitha Onkar
On Mon, 16 Sep 2024 22:59:35 GMT, Harshitha Onkar wrote: >> Following test are open-sourced. >> >> 1. test/jdk/java/awt/Label/ContainerValidateTest.java - Automated >> 2. test/jdk/java/awt/TextField/SetEchoCharTest.java - Automated >> 3. test/jdk/java/awt/TextField/SetEchoCharWordOpsTest.j

Re: RFR: 8339984: Open source AWT MenuItem related tests

2024-09-17 Thread Alexey Ivanov
On Tue, 17 Sep 2024 04:31:09 GMT, Abhishek Kumar wrote: > Few AWT MenuItem related tests are converted from applet to manual and moved > to open. Changes requested by aivanov (Reviewer). test/jdk/java/awt/MenuItem/GiantFontTest.java line 72: > 70: mb.add(m); > 71: f.setMenuBar

Re: RFR: 8226933: [TEST_BUG]GTK L&F: There is no swatches or RGB tab in JColorChooser [v4]

2024-09-17 Thread Alexey Ivanov
On Fri, 6 Sep 2024 11:37:10 GMT, Abhishek Kumar wrote: >> There is no Swatches tab available for GTK Look and Feel due to the >> different ColorChooser UI design. Updated the test instructions. > > Abhishek Kumar has updated the pull request incrementally with one additional > commit since the

Re: RFR: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder [v3]

2024-09-17 Thread Alexander Zvegintsev
On Tue, 17 Sep 2024 17:28:26 GMT, Harshitha Onkar wrote: >> `positionTestUI()` option is added to PassFailJFrame (PFJ). >> >> With this change multiple UI can be positioned using the PFJ new builder >> pattern by providing implementation for the Functional Interface >> `PositionWindows.positio

Integrated: JDK-8340210 : Add positionTestUI() to PassFailJFrame.Builder

2024-09-17 Thread Harshitha Onkar
On Mon, 16 Sep 2024 19:11:59 GMT, Harshitha Onkar wrote: > `positionTestUI()` option is added to PassFailJFrame (PFJ). > > With this change multiple UI can be positioned using the PFJ new builder > pattern by providing implementation for the Functional Interface > `PositionWindows.positionTest

Re: RFR: 8340078: Open source several 2D tests

2024-09-17 Thread Alexander Zvegintsev
On Tue, 17 Sep 2024 18:27:58 GMT, Phil Race wrote: > Open source 5 Java2D related rendering tests. Changes requested by azvegint (Reviewer). test/jdk/sun/java2d/GdiRendering/GdiLockTest.java line 28: > 26: * @bug 4693644 > 27: * @summary verifies that there are no artifacts due to copying wi

Re: RFR: 8339845: Update color.org and wapforum.org links to use HTTPS instead of HTTP

2024-09-17 Thread Alexey Ivanov
On Fri, 13 Sep 2024 15:01:23 GMT, Nizar Benalla wrote: > Can I get a review for this doc-only change? I updated some links because the > websites moved from HTTP to HTTPS. The redirects can cause some > false-positives on tests. > > TIA Marked as reviewed by aivanov (Reviewer). -

Re: RFR: 8339845: Update color.org and wapforum.org links to use HTTPS instead of HTTP

2024-09-17 Thread Alexey Ivanov
On Fri, 13 Sep 2024 15:01:23 GMT, Nizar Benalla wrote: > Can I get a review for this doc-only change? I updated some links because the > websites moved from HTTP to HTTPS. The redirects can cause some > false-positives on tests. > > TIA @nizarbenalla Looks you're a committer now. You have to

Re: RFR: 8339341: SurfaceManager cacheMap retains strong references [v3]

2024-09-17 Thread Nikita Gubarkov
> I moved SurfaceDataProxy cache into a separate class. > Now caching level is determined by placement of the SurfaceManager.ProxyCache > object instead of a "proxy key". This cache "owns" proxies and therefore > strong refs via them do not prevent the cache and GraphicsConfig from being > detec

Re: RFR: 8340015: Open source several AWT focus tests - series 7 [v2]

2024-09-17 Thread Harshitha Onkar
On Tue, 17 Sep 2024 04:06:52 GMT, Prasanta Sadhukhan wrote: >> Opensource few AWT focus tests > > Prasanta Sadhukhan has updated the pull request incrementally with one > additional commit since the last revision: > > MToolkit removed LGTM other than the minor inline review comments test/j

Re: RFR: 8339902: Open source couple TextField related tests [v6]

2024-09-17 Thread Harshitha Onkar
On Tue, 17 Sep 2024 04:07:53 GMT, Alexander Zuev wrote: >> Clean up and open source five TextField related tests: >> java/awt/TextField/CaretPositionTest; >> java/awt/TextField/SetBoundsTest; >> java/awt/TextField/SetEchoCharTest4; >> java/awt/TextField/SetPasswordTest; >> java/awt/TextField/Zer

Re: RFR: 8340078: Open source several 2D tests

2024-09-17 Thread Harshitha Onkar
On Tue, 17 Sep 2024 18:27:58 GMT, Phil Race wrote: > Open source 5 Java2D related rendering tests. Other than the following minor comments and the lib path mentioned here https://github.com/openjdk/jdk/pull/21045#discussion_r1763925919 , everything else looks good. test/jdk/sun/java2d/SunGrap

Re: RFR: 8340015: Open source several AWT focus tests - series 7 [v2]

2024-09-17 Thread Harshitha Onkar
On Tue, 17 Sep 2024 04:06:52 GMT, Prasanta Sadhukhan wrote: >> Opensource few AWT focus tests > > Prasanta Sadhukhan has updated the pull request incrementally with one > additional commit since the last revision: > > MToolkit removed test/jdk/java/awt/Focus/MinimizeNonfocusableWindowTest.j

Re: RFR: 8340015: Open source several AWT focus tests - series 7 [v2]

2024-09-17 Thread Prasanta Sadhukhan
On Tue, 17 Sep 2024 23:40:49 GMT, Harshitha Onkar wrote: >> Prasanta Sadhukhan has updated the pull request incrementally with one >> additional commit since the last revision: >> >> MToolkit removed > > LGTM other than the minor inline review comments @honkar-jdk please rereview.. > test/j

Re: RFR: 8340015: Open source several AWT focus tests - series 7 [v3]

2024-09-17 Thread Prasanta Sadhukhan
> Opensource few AWT focus tests Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Review comments - Changes: - all: https://git.openjdk.org/jdk/pull/21008/files - new: https://git.openjdk.org/jdk/pull/21008/file

RFR: 8339895: Open source several AWT focus tests - series 3

2024-09-17 Thread Prasanta Sadhukhan
Opensource few focus tests - Commit messages: - 8339895: Open source several AWT focus tests - series 3 - 8339895: Open source several AWT focus tests - series 3 Changes: https://git.openjdk.org/jdk/pull/21050/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21050&range=00