Re: RFR: JDK-8320675 : PrinterJob/SecurityDialogTest.java hangs

2024-03-14 Thread Tejesh R
On Fri, 15 Mar 2024 06:10:05 GMT, Renjith Kannath Pariyangad wrote: >> test/jdk/java/awt/print/PrinterJob/SecurityDialogTest.java line 47: >> >>> 45: */ >>> 46: public class SecurityDialogTest extends Frame { >>> 47: private static final String INSTRUCTIONS = >> >> `INSTRUCTIONS` can be m

Re: RFR: 8328244: Convert javax/swing/JSlider/6742358/bug6742358.java.java applet test to main [v2]

2024-03-14 Thread Abhishek Kumar
> Conversion of manual applet test to main based using PassFailJFrame manual > framework Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision: wild card imports and moved one folder up - Changes: - all: https://git.openjd

Re: RFR: JDK-8320675 : PrinterJob/SecurityDialogTest.java hangs

2024-03-14 Thread Renjith Kannath Pariyangad
On Fri, 15 Mar 2024 03:31:32 GMT, Tejesh R wrote: >> Hi Reviewers, >> >> I have updated the test with PassFailJFrame with information panel, earlier >> this was informed through terminal. >> Please review and let me know your suggestions if any. > > test/jdk/java/awt/print/PrinterJob/SecurityD

RFR: 8328244: Convert javax/swing/JSlider/6742358/bug6742358.java.java applet test to main

2024-03-14 Thread Abhishek Kumar
Conversion of manual applet test to main based using PassFailJFrame manual framework - Commit messages: - Applet test converted to main manual Changes: https://git.openjdk.org/jdk/pull/18321/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18321&range=00 Issue: https://bu

Integrated: 8327756: Convert javax/swing/JSlider/4987336/bug4987336.java applet to main

2024-03-14 Thread Prasanta Sadhukhan
On Wed, 13 Mar 2024 07:10:32 GMT, Prasanta Sadhukhan wrote: > Conversion of manual applet test to main based using PassFailJFrame manual > framework This pull request has now been integrated. Changeset: 06f4b7f5 Author:Prasanta Sadhukhan URL: https://git.openjdk.org/jdk/commit/06f

Integrated: 8203867: Delete test java/awt/TrayIcon/DblClickActionEventTest/DblClickActionEventTest.html

2024-03-14 Thread Phil Race
On Thu, 14 Mar 2024 19:36:53 GMT, Phil Race wrote: > This test draws the same tray icon, has similar instructions to, and is > subsumed by the related test DisposeInActionEventTest.java > And because this test has incomplete instructions not covering macOS it is > problem-listed. > The other

Re: RFR: 8328242: Add a log area to the PassFailJFrame

2024-03-14 Thread Phil Race
On Fri, 15 Mar 2024 04:40:14 GMT, Alexander Zvegintsev wrote: > Often manual tests have a text area in the instruction window to print > feedback from the test to be evaluated by a tester. > I stumbled across another test that needed this, so I decided to make these > changes a standard featur

Re: RFR: 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main

2024-03-14 Thread Alexander Zvegintsev
On Thu, 14 Mar 2024 16:40:56 GMT, Damon Nguyen wrote: > Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main > using PassFailJFrame test/jdk/java/awt/image/MemoryLeakTest/MemoryLeakTest.java line 67: > 65: .rows(15) > 66: .columns(40) > 67:

Re: RFR: 8203867: Delete test java/awt/TrayIcon/DblClickActionEventTest/DblClickActionEventTest.html

2024-03-14 Thread Alexander Zvegintsev
On Thu, 14 Mar 2024 19:36:53 GMT, Phil Race wrote: > This test draws the same tray icon, has similar instructions to, and is > subsumed by the related test DisposeInActionEventTest.java > And because this test has incomplete instructions not covering macOS it is > problem-listed. > The other

RFR: 8328242: Add a log area to the PassFailJFrame

2024-03-14 Thread Alexander Zvegintsev
Often manual tests have a text area in the instruction window to print feedback from the test to be evaluated by a tester. I stumbled across another test that needed this, so I decided to make these changes a standard feature. List of changes: * The log text area can be added below the `Pass` an

Re: RFR: 8328242: Add a log area to the PassFailJFrame

2024-03-14 Thread Alexander Zvegintsev
On Fri, 15 Mar 2024 04:40:14 GMT, Alexander Zvegintsev wrote: > Often manual tests have a text area in the instruction window to print > feedback from the test to be evaluated by a tester. > I stumbled across another test that needed this, so I decided to make these > changes a standard featur

Re: RFR: 8328218: Delete test java/awt/Window/FindOwner/FindOwner.html

2024-03-14 Thread Phil Race
On Fri, 15 Mar 2024 04:23:39 GMT, Prasanta Sadhukhan wrote: > It was originally meant for browser applet which as you told is not supported > and therefore test can be removed but I see it is also used to test a Unity > fix for [8159460](https://bugs.openjdk.org/browse/JDK-8159460) that does n

Integrated: 8328218: Delete test java/awt/Window/FindOwner/FindOwner.html

2024-03-14 Thread Phil Race
On Thu, 14 Mar 2024 21:27:47 GMT, Phil Race wrote: > After some experimentation/thought I think it best to delete this applet test. > > It is supposed to be a manual test but is missing the manual keyword so > as far as I can tell it has never been usefully run. Except perhaps a few > times > w

Re: RFR: 8328218: Delete test java/awt/Window/FindOwner/FindOwner.html

2024-03-14 Thread Prasanta Sadhukhan
On Thu, 14 Mar 2024 21:27:47 GMT, Phil Race wrote: > After some experimentation/thought I think it best to delete this applet test. > > It is supposed to be a manual test but is missing the manual keyword so > as far as I can tell it has never been usefully run. Except perhaps a few > times > w

Integrated: 8328089: Automate javax/swing/JTable/4222153/bug4222153.java applet test

2024-03-14 Thread Abhishek Kumar
On Wed, 13 Mar 2024 13:39:08 GMT, Abhishek Kumar wrote: > Conversion of manual applet test to automated test. CI testing is green. Link > attached to JBS. This pull request has now been integrated. Changeset: f6390e5f Author:Abhishek Kumar URL: https://git.openjdk.org/jdk/commit/f6

Re: RFR: 8328228: Missing comma in copyright year for a few JColorChooser tests [v2]

2024-03-14 Thread David Holmes
On Fri, 15 Mar 2024 00:15:50 GMT, Alisen Chung wrote: >> Adding comma to copyright years > > Alisen Chung has updated the pull request incrementally with one additional > commit since the last revision: > > remove middle copyright year @alisenchung sorry I became unavailable to follow this

Re: RFR: JDK-8320675 : PrinterJob/SecurityDialogTest.java hangs

2024-03-14 Thread Tejesh R
On Thu, 14 Mar 2024 11:52:09 GMT, Renjith Kannath Pariyangad wrote: > Hi Reviewers, > > I have updated the test with PassFailJFrame with information panel, earlier > this was informed through terminal. > Please review and let me know your suggestions if any. test/jdk/java/awt/print/PrinterJo

Re: RFR: 8327756: Convert javax/swing/JSlider/4987336/bug4987336.java applet to main [v2]

2024-03-14 Thread Phil Race
On Fri, 15 Mar 2024 03:14:50 GMT, Prasanta Sadhukhan wrote: >> Conversion of manual applet test to main based using PassFailJFrame manual >> framework > > Prasanta Sadhukhan has updated the pull request incrementally with one > additional commit since the last revision: > > Minor update Ma

Re: RFR: 8327757: Convert javax/swing/JSlider/6524424/bug6524424.java applet to main [v2]

2024-03-14 Thread Prasanta Sadhukhan
> Conversion of manual applet test to main based using PassFailJFrame manual > framework Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Ninor update - Changes: - all: https://git.openjdk.org/jdk/pull/18263/file

Re: RFR: 8327756: Convert javax/swing/JSlider/4987336/bug4987336.java applet to main [v2]

2024-03-14 Thread Prasanta Sadhukhan
> Conversion of manual applet test to main based using PassFailJFrame manual > framework Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Minor update - Changes: - all: https://git.openjdk.org/jdk/pull/18261/file

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v4]

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 16:48:57 GMT, Alexander Zuev wrote: >> Convert test to the automatic main and move it from its own folder since it >> is no longer required. > > Alexander Zuev has updated the pull request incrementally with one additional > commit since the last revision: > > Minor updat

Re: RFR: 8203867: Delete test java/awt/TrayIcon/DblClickActionEventTest/DblClickActionEventTest.html

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 19:36:53 GMT, Phil Race wrote: > This test draws the same tray icon, has similar instructions to, and is > subsumed by the related test DisposeInActionEventTest.java > And because this test has incomplete instructions not covering macOS it is > problem-listed. > The other

Re: RFR: 8328227: Remove applet usage from JColorChooser tests Test4887836

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 23:02:58 GMT, Alisen Chung wrote: > Removing applet usage from manual JColorChooser tests Changes requested by honkar (Reviewer). test/jdk/javax/swing/JColorChooser/Test4887836.java line 2: > 1: /* > 2: * Copyright (c) 2003, 2008, 2024 Oracle and/or its affiliates. All rig

Integrated: 8328228: Missing comma in copyright year for a few JColorChooser tests

2024-03-14 Thread Alisen Chung
On Thu, 14 Mar 2024 23:36:13 GMT, Alisen Chung wrote: > Adding comma to copyright years This pull request has now been integrated. Changeset: e8d1ba33 Author:Alisen Chung URL: https://git.openjdk.org/jdk/commit/e8d1ba33b48dc8e6b937258c3765b91426c5b6f1 Stats: 4 lines in 4 files c

Re: RFR: 8328089: Automate javax/swing/JTable/4222153/bug4222153.java applet test [v4]

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 05:51:55 GMT, Abhishek Kumar wrote: >> Conversion of manual applet test to automated test. CI testing is green. >> Link attached to JBS. > > Abhishek Kumar has updated the pull request incrementally with one additional > commit since the last revision: > > UI init in sepa

Re: RFR: 8328228: Missing comma in copyright year for a few JColorChooser tests [v2]

2024-03-14 Thread Jaikiran Pai
On Fri, 15 Mar 2024 00:15:50 GMT, Alisen Chung wrote: >> Adding comma to copyright years > > Alisen Chung has updated the pull request incrementally with one additional > commit since the last revision: > > remove middle copyright year Trivial copyright year update. This looks good to me. -

Re: RFR: 8328228: Missing comma in copyright year for a few JColorChooser tests [v2]

2024-03-14 Thread Alisen Chung
> Adding comma to copyright years Alisen Chung has updated the pull request incrementally with one additional commit since the last revision: remove middle copyright year - Changes: - all: https://git.openjdk.org/jdk/pull/18317/files - new: https://git.openjdk.org/jdk/pull/18

Re: RFR: 8328228: Missing comma in copyright year for a few JColorChooser tests

2024-03-14 Thread David Holmes
On Thu, 14 Mar 2024 23:36:13 GMT, Alisen Chung wrote: > Adding comma to copyright years Changes requested by dholmes (Reviewer). test/jdk/javax/swing/JColorChooser/Test4759306.java line 2: > 1: /* > 2: * Copyright (c) 2002, 2008, 2024, Oracle and/or its affiliates. All > rights reserved. Th

RFR: 8328228: Missing comma in copyright year for a few JColorChooser tests

2024-03-14 Thread Alisen Chung
Adding comma to copyright years - Commit messages: - init commit Changes: https://git.openjdk.org/jdk/pull/18317/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18317&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8328228 Stats: 4 lines in 4 files changed: 0 ins; 0

RFR: 8328227: Remove applet usage from JColorChooser tests Test4887836

2024-03-14 Thread Alisen Chung
Removing applet usage from manual JColorChooser tests - Commit messages: - init commit Changes: https://git.openjdk.org/jdk/pull/18316/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18316&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8328227 Stats: 66 lines in 2

Integrated: 8328130: Remove applet usage from JColorChooser tests Test4759934

2024-03-14 Thread Alisen Chung
On Wed, 13 Mar 2024 20:57:42 GMT, Alisen Chung wrote: > Removing applet usage from manual JColorChooser tests This pull request has now been integrated. Changeset: be1dd275 Author:Alisen Chung URL: https://git.openjdk.org/jdk/commit/be1dd275a4b4fcae00e4c3c48b3e8e4b1d84ba2b Stats:

Integrated: 8328121: Remove applet usage from JColorChooser tests Test4759306

2024-03-14 Thread Alisen Chung
On Wed, 13 Mar 2024 19:26:15 GMT, Alisen Chung wrote: > Removing applet usage from manual JColorChooser tests This pull request has now been integrated. Changeset: fab0edc9 Author:Alisen Chung URL: https://git.openjdk.org/jdk/commit/fab0edc9e636c69d7012e476e97661ddae993a03 Stats:

Re: RFR: 8328121: Remove applet usage from JColorChooser tests Test4759306 [v5]

2024-03-14 Thread Alisen Chung
> Removing applet usage from manual JColorChooser tests Alisen Chung has updated the pull request incrementally with one additional commit since the last revision: remove jframe import - Changes: - all: https://git.openjdk.org/jdk/pull/18286/files - new: https://git.openjdk.o

Integrated: 8327857: Remove applet usage from JColorChooser tests Test4222508

2024-03-14 Thread Alisen Chung
On Mon, 11 Mar 2024 23:57:17 GMT, Alisen Chung wrote: > Removing applet usage from manual JColorChooser tests This pull request has now been integrated. Changeset: 7c6fd337 Author:Alisen Chung URL: https://git.openjdk.org/jdk/commit/7c6fd337d00d4bdeaac724a6ea26fac3654846e0 Stats:

Integrated: 8327859: Remove applet usage from JColorChooser tests Test4319113

2024-03-14 Thread Alisen Chung
On Tue, 12 Mar 2024 00:24:38 GMT, Alisen Chung wrote: > Removing applet usage from manual JColorChooser tests This pull request has now been integrated. Changeset: 89fb0f83 Author:Alisen Chung URL: https://git.openjdk.org/jdk/commit/89fb0f837b7dbeed581f5db79d915cf405afda31 Stats:

Re: RFR: JDK-8328225: Convert ImageDecoratedDnD.html applet test to main

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 22:41:20 GMT, Harshitha Onkar wrote: > Following test is converted to main using PassFailJFrame. test/jdk/java/awt/dnd/ImageDecoratedDnD/ImageDecoratedDnD.java line 56: > 54: In WIN32 systems the image under cursor would be visible > ONLY over > 55:

RFR: JDK-8328225: Convert ImageDecoratedDnD.html applet test to main

2024-03-14 Thread Harshitha Onkar
Following test is converted to main using PassFailJFrame. - Commit messages: - EOF newline added - Instructions updated - applet to main Changes: https://git.openjdk.org/jdk/pull/18315/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18315&range=00 Issue: https://bugs.op

Integrated: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main

2024-03-14 Thread Alexander Zvegintsev
On Tue, 12 Mar 2024 19:28:45 GMT, Alexander Zvegintsev wrote: > The test is converted to main. > Tested on Linux, Macos and Windows. This pull request has now been integrated. Changeset: df909e2f Author:Alexander Zvegintsev URL: https://git.openjdk.org/jdk/commit/df909e2f9c83d6de11

RFR: 8328218: Delete test java/awt/Window/FindOwner/FindOwner.html

2024-03-14 Thread Phil Race
After some experimentation/thought I think it best to delete this applet test. It is supposed to be a manual test but is missing the manual keyword so as far as I can tell it has never been usefully run. Except perhaps a few times when first being verified. When I run it in jtreg a window popups u

Re: RFR: JDK-8328190 : Convert AWTPanelSmoothWheel.html applet test to main [v2]

2024-03-14 Thread Harshitha Onkar
> This test is converted to main using PassFailJFrame. It verifies wheel > rotation value for high-res mouse on windows. > > The test requires the updated PassFailJFrame changes added in this PR > https://github.com/openjdk/jdk/pull/18281 Harshitha Onkar has updated the pull request incremental

Re: RFR: JDK-8328190 : Convert AWTPanelSmoothWheel.html applet test to main

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 19:50:18 GMT, Harshitha Onkar wrote: > This test is converted to main using PassFailJFrame. It verifies wheel > rotation value for high-res mouse on windows. > > The test requires the updated PassFailJFrame changes added in this PR > https://github.com/openjdk/jdk/pull/1828

RFR: JDK-8328190 : Convert AWTPanelSmoothWheel.html applet test to main

2024-03-14 Thread Harshitha Onkar
This test is converted to main using PassFailJFrame. It verifies wheel rotation value for high-res mouse on windows. The test requires the updated PassFailJFrame changes added in this PR https://github.com/openjdk/jdk/pull/18281 - Commit messages: - whitespace removed - default t

Re: RFR: 8325179: Race in BasicDirectoryModel.validateFileCache [v3]

2024-03-14 Thread Sergey Bylokhov
On Wed, 6 Mar 2024 11:27:08 GMT, Alexey Ivanov wrote: >> Ensure access to the `filesLoader` field of `BasicDirectoryModel` is >> synchronized. >> >> Without synchronization, a thread checks if `filesLoader` is not null and >> creates a new `FilesLoader` thread. If the thread is pre-empted betw

Re: RFR: 8325179: Race in BasicDirectoryModel.validateFileCache [v3]

2024-03-14 Thread Sergey Bylokhov
On Tue, 5 Mar 2024 11:04:30 GMT, Alexey Ivanov wrote: >> src/java.desktop/share/classes/javax/swing/plaf/basic/BasicDirectoryModel.java >> line 101: >> >>> 99: */ >>> 100: public synchronized void invalidateFileCache() { >>> 101: if (filesLoader != null) { >> >> This is a publ

RFR: 8203867: Delete test java/awt/TrayIcon/DblClickActionEventTest/DblClickActionEventTest.html

2024-03-14 Thread Phil Race
This test draws the same tray icon, has similar instructions to, and is subsumed by the related test DisposeInActionEventTest.java And because this test has incomplete instructions not covering macOS it is problem-listed. The other test explicitly covers macOS. So the right answer is to remove

Re: RFR: 8327137: Add test for ConcurrentModificationException in BasicDirectoryModel

2024-03-14 Thread Sergey Bylokhov
On Mon, 4 Mar 2024 15:52:45 GMT, Alexey Ivanov wrote: > I'm adding a regression test for > [JDK-8323670](https://bugs.openjdk.org/browse/JDK-8323670) and > [JDK-8307091](https://bugs.openjdk.org/browse/JDK-8307091); it's also a > regression test for > [JDK-8240690](https://bugs.openjdk.org/br

Integrated: 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program

2024-03-14 Thread Phil Race
On Tue, 12 Mar 2024 22:55:02 GMT, Phil Race wrote: > java/awt/List/SetFontTest/SetFontTest.html is a manual applet-based test. > It can be converted to a main program test using PassFailJFrame This pull request has now been integrated. Changeset: 87bd6cac Author:Phil Race URL: https

Re: RFR: 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program [v2]

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 18:43:06 GMT, Phil Race wrote: >> java/awt/List/SetFontTest/SetFontTest.html is a manual applet-based test. >> It can be converted to a main program test using PassFailJFrame > > Phil Race has updated the pull request incrementally with one additional > commit since the last

Re: RFR: 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program [v2]

2024-03-14 Thread Phil Race
On Thu, 14 Mar 2024 00:23:01 GMT, Harshitha Onkar wrote: >> Phil Race has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8328021 > > test/jdk/java/awt/List/SetFontTest.java line 55: > >> 53:.instructions(INSTRUCTION

Re: RFR: 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program [v2]

2024-03-14 Thread Phil Race
On Thu, 14 Mar 2024 10:22:50 GMT, Abhishek Kumar wrote: >> Phil Race has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8328021 > > test/jdk/java/awt/List/SetFontTest.java line 42: > >> 40: public class SetFontTest { >> 41: >> 42: sta

Re: RFR: 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program [v2]

2024-03-14 Thread Phil Race
> java/awt/List/SetFontTest/SetFontTest.html is a manual applet-based test. > It can be converted to a main program test using PassFailJFrame Phil Race has updated the pull request incrementally with one additional commit since the last revision: 8328021 - Changes: - all: https

Re: RFR: JDK-8328115 : Convert java/awt/font/TextLayout/TestJustification.html applet test to main

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 18:05:59 GMT, Alexey Ivanov wrote: > I wonder if it depends on the font used. Is the selected font available on > macOS? I tried it with Dialog on macOS, it looked the same. - PR Comment: https://git.openjdk.org/jdk/pull/18285#issuecomment-1998045712

Re: RFR: JDK-8328115 : Convert java/awt/font/TextLayout/TestJustification.html applet test to main

2024-03-14 Thread Alexey Ivanov
On Wed, 13 Mar 2024 18:49:03 GMT, Harshitha Onkar wrote: > This test was previously problemlisted on macOS. When tested on macOS, the > problem still exists… I wonder if it depends on the font used. Is the selected font available on macOS? - PR Comment: https://git.openjdk.org/jd

Re: RFR: 8328087: Automate javax/swing/JTable/TAB/TAB.java applet test [v5]

2024-03-14 Thread Abhishek Kumar
> Conversion of manual applet test to automated test. CI testing is green. Link > attached to JBS. Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision: Minor update - Changes: - all: https://git.openjdk.org/jdk/pull/1827

Re: RFR: JDK-8328115 : Convert java/awt/font/TextLayout/TestJustification.html applet test to main

2024-03-14 Thread Alexey Ivanov
On Wed, 13 Mar 2024 18:49:03 GMT, Harshitha Onkar wrote: > java/awt/font/TextLayout/TestJustification.html is converted to main manual > test using PassFailJFrame. > > This test was previously problemlisted on macOS. When tested on macOS, the > problem still exists and not all lines are just

Re: RFR: 8327980: Convert javax/swing/JToggleButton/4128979/bug4128979.java applet test to main [v3]

2024-03-14 Thread Abhishek Kumar
> Conversion of manual applet test to main based using PassFailJFrame manual > framework Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision: Added OS check and remove unused imports - Changes: - all: https://git.openjdk

Re: RFR: 8327980: Convert javax/swing/JToggleButton/4128979/bug4128979.java applet test to main [v2]

2024-03-14 Thread Abhishek Kumar
On Thu, 14 Mar 2024 17:04:22 GMT, Harshitha Onkar wrote: >> Abhishek Kumar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review comment fix > > test/jdk/javax/swing/JToggleButton/bug4128979.java line 69: > >> 67: >> 68: public st

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v4]

2024-03-14 Thread Abhishek Kumar
On Thu, 14 Mar 2024 16:48:57 GMT, Alexander Zuev wrote: >> Convert test to the automatic main and move it from its own folder since it >> is no longer required. > > Alexander Zuev has updated the pull request incrementally with one additional > commit since the last revision: > > Minor updat

Re: RFR: 8328087: Automate javax/swing/JTable/TAB/TAB.java applet test [v4]

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 05:22:40 GMT, Abhishek Kumar wrote: >> Conversion of manual applet test to automated test. CI testing is green. >> Link attached to JBS. > > Abhishek Kumar has updated the pull request incrementally with two additional > commits since the last revision: > > - Test file upd

Re: RFR: 8328087: Automate javax/swing/JTable/TAB/TAB.java applet test [v4]

2024-03-14 Thread Harshitha Onkar
On Thu, 14 Mar 2024 05:22:40 GMT, Abhishek Kumar wrote: >> Conversion of manual applet test to automated test. CI testing is green. >> Link attached to JBS. > > Abhishek Kumar has updated the pull request incrementally with two additional > commits since the last revision: > > - Test file upd

Re: RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v4]

2024-03-14 Thread Alexey Ivanov
On Thu, 14 Mar 2024 16:26:06 GMT, Alexander Zvegintsev wrote: >> The test is converted to main. >> Tested on Linux, Macos and Windows. > > Alexander Zvegintsev has updated the pull request with a new target base due > to a merge or a rebase. The incremental webrev excludes the unrelated changes

Re: RFR: 8327980: Convert javax/swing/JToggleButton/4128979/bug4128979.java applet test to main [v2]

2024-03-14 Thread Harshitha Onkar
On Wed, 13 Mar 2024 05:38:35 GMT, Abhishek Kumar wrote: >> Conversion of manual applet test to main based using PassFailJFrame manual >> framework > > Abhishek Kumar has updated the pull request incrementally with one additional > commit since the last revision: > > Review comment fix Pleas

Re: RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v3]

2024-03-14 Thread Alexey Ivanov
On Thu, 14 Mar 2024 16:23:20 GMT, Alexander Zvegintsev wrote: >> test/jdk/java/awt/Frame/GetBoundsResizeTest.java line 44: >> >>> 42: 0. There is a test window with a "Press" button, >>> 43: Its original bounds should be printed in the text area >>> below. >>> 44:

Re: RFR: 8305072: Win32ShellFolder2.compareTo is inconsistent [v2]

2024-03-14 Thread Alexey Ivanov
On Thu, 14 Mar 2024 16:49:39 GMT, Alexey Ivanov wrote: >> src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java >> line 525: >> >>> 523: boolean special2 = sf2.isSpecial(); >>> 524: >>> 525: if (special1 && special2) { >> >> Could you please say somethin

Re: RFR: 8305072: Win32ShellFolder2.compareTo is inconsistent [v2]

2024-03-14 Thread Alexey Ivanov
On Tue, 12 Mar 2024 19:35:30 GMT, Phil Race wrote: >> Alexey Ivanov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Handle fakePersonal on Windows 10 >> >> The desktop folder on Windows 10 does not include >> the Personal (Documen

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v2]

2024-03-14 Thread Alexander Zuev
On Thu, 14 Mar 2024 16:03:46 GMT, Abhishek Kumar wrote: >> Alexander Zuev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Minor fixes > > test/jdk/java/awt/Choice/NonFocusablePopupMenuTest.java line 85: > >> 83: }); >> 84:

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v4]

2024-03-14 Thread Alexander Zuev
> Convert test to the automatic main and move it from its own folder since it > is no longer required. Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision: Minor updates - Changes: - all: https://git.openjdk.org/jdk/pull

RFR: 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main

2024-03-14 Thread Damon Nguyen
Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main using PassFailJFrame - Commit messages: - Update title - Initial test conversion Changes: https://git.openjdk.org/jdk/pull/18307/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18307&range=00

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v3]

2024-03-14 Thread Alexander Zuev
> Convert test to the automatic main and move it from its own folder since it > is no longer required. Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision: Update test/jdk/java/awt/Choice/NonFocusablePopupMenuTest.java Co-authored-

Re: RFR: 8328005: Convert java/awt/im/JTextFieldTest.java applet test to main [v2]

2024-03-14 Thread Damon Nguyen
On Wed, 13 Mar 2024 18:15:58 GMT, Phil Race wrote: >> Damon Nguyen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix suggested redudant changes > > test/jdk/java/awt/im/JTextFieldTest.java line 47: > >> 45: """ >> 46:

Re: RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v3]

2024-03-14 Thread Alexander Zvegintsev
On Thu, 14 Mar 2024 13:26:37 GMT, Alexey Ivanov wrote: >> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> extract logFrameBounds, instructions update > > test/jdk/java/awt/Frame/GetBoundsResizeTest.java line 44: > >

Re: RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v4]

2024-03-14 Thread Alexander Zvegintsev
> The test is converted to main. > Tested on Linux, Macos and Windows. Alexander Zvegintsev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six addition

Re: RFR: 8328005: Convert java/awt/im/JTextFieldTest.java applet test to main [v3]

2024-03-14 Thread Damon Nguyen
> Convert java/awt/im/JTextFieldTest.java applet test to main using > PassFailJFrame. Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision: Review comments - Changes: - all: https://git.openjdk.org/jdk/pull/18247/files -

Re: RFR: 8327980: Convert javax/swing/JToggleButton/4128979/bug4128979.java applet test to main [v2]

2024-03-14 Thread Abhishek Kumar
On Wed, 13 Mar 2024 01:20:11 GMT, Harshitha Onkar wrote: >> Abhishek Kumar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review comment fix > > Changes requested by honkar (Reviewer). @honkar-jdk Updated as per last review. Please tak

Re: RFR: 8328087: Automate javax/swing/JTable/TAB/TAB.java applet test [v2]

2024-03-14 Thread Abhishek Kumar
On Thu, 14 Mar 2024 01:01:51 GMT, Harshitha Onkar wrote: >> Abhishek Kumar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Remove commented code > > Changes requested by honkar (Reviewer). @honkar-jdk Updated as per last review. Please

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v2]

2024-03-14 Thread Abhishek Kumar
On Thu, 14 Mar 2024 13:00:06 GMT, Alexander Zuev wrote: >> Convert test to the automatic main and move it from its own folder since it >> is no longer required. > > Alexander Zuev has updated the pull request incrementally with one additional > commit since the last revision: > > Minor fixes

Re: RFR: 8328154: Convert sun/java2d/loops/CopyAreaSpeed.java applet test to main

2024-03-14 Thread Tejesh R
On Thu, 14 Mar 2024 15:42:46 GMT, Alexander Zuev wrote: >> Convert sun/java2d/loops/CopyAreaSpeed.java manual applet test to main >> based using PassFailJFrame. This is a performance measurement test which >> provide benchmark to compare the outcome with different releases. I have >> converte

Integrated: 8328124: Convert java/awt/Frame/ShownOnPack/ShownOnPack.html applet test to main

2024-03-14 Thread Alexander Zvegintsev
On Wed, 13 Mar 2024 19:43:10 GMT, Alexander Zvegintsev wrote: > The test is converted to main. > Tested on Linux, Macos and Windows. This pull request has now been integrated. Changeset: 7cc1965a Author:Alexander Zvegintsev URL: https://git.openjdk.org/jdk/commit/7cc1965a252347f37d

Re: RFR: 8328124: Convert java/awt/Frame/ShownOnPack/ShownOnPack.html applet test to main [v2]

2024-03-14 Thread Alexander Zvegintsev
> The test is converted to main. > Tested on Linux, Macos and Windows. Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision: add empty line - Changes: - all: https://git.openjdk.org/jdk/pull/18287/files - new: http

Integrated: 8327873: Convert javax/swing/border/Test4247606.java applet test to main

2024-03-14 Thread Tejesh R
On Tue, 12 Mar 2024 06:03:27 GMT, Tejesh R wrote: > Convert javax/swing/border/Test4247606.java applet test to main based test > using PassFailJFrame. This pull request has now been integrated. Changeset: d4ec7831 Author:Tejesh R URL: https://git.openjdk.org/jdk/commit/d4ec78310882

Re: RFR: 8327873: Convert javax/swing/border/Test4247606.java applet test to main [v4]

2024-03-14 Thread Tejesh R
> Convert javax/swing/border/Test4247606.java applet test to main based test > using PassFailJFrame. Tejesh R has updated the pull request incrementally with one additional commit since the last revision: Review updates - Changes: - all: https://git.openjdk.org/jdk/pull/18213/

Integrated: 8327876: Convert javax/swing/border/Test4252164.java applet test to main

2024-03-14 Thread Tejesh R
On Tue, 12 Mar 2024 06:56:20 GMT, Tejesh R wrote: > Convert javax/swing/border/Test4252164.java applet test to main based test > using PassFailJFrame. This pull request has now been integrated. Changeset: acfefc6c Author:Tejesh R URL: https://git.openjdk.org/jdk/commit/acfefc6c7aea

Integrated: 8286759: TextComponentPrintable: consequent -> consecutive positions

2024-03-14 Thread Alexey Ivanov
On Thu, 29 Feb 2024 15:13:16 GMT, Alexey Ivanov wrote: > A trivial change in a comment: consequent → _consecutive_ positions. > > This was found in [a code > review](https://github.com/openjdk/jdk/pull/8328#discussion_r872596373) for > [JDK-8285306](https://bugs.openjdk.org/browse/JDK-8285306)

Integrated: 8327835: Convert java/awt/FileDialog/RegexpFilterTest/RegexpFilterTest applet test to main

2024-03-14 Thread Alexander Zvegintsev
On Mon, 11 Mar 2024 17:29:50 GMT, Alexander Zvegintsev wrote: > The `java/awt/FileDialog/RegexpFilterTest/RegexpFilterTest` test is written > to test the very specific functionality of `XFileDialogPeer`, so it shouldn't > be run on platforms other than Linux. > > We also need to set `sun.awt.

Re: RFR: 8328154: Convert sun/java2d/loops/CopyAreaSpeed.java applet test to main

2024-03-14 Thread Alexander Zuev
On Thu, 14 Mar 2024 10:39:15 GMT, Tejesh R wrote: > Convert sun/java2d/loops/CopyAreaSpeed.java manual applet test to main based > using PassFailJFrame. This is a performance measurement test which provide > benchmark to compare the outcome with different releases. I have converted > the test

Integrated: 8327969: Convert javax/swing/border/Test6910490.java applet test to main

2024-03-14 Thread Tejesh R
On Tue, 12 Mar 2024 11:15:38 GMT, Tejesh R wrote: > Convert javax/swing/border/Test6910490.java applet test to main based test > using PassFailJFrame. This pull request has now been integrated. Changeset: 759cc675 Author:Tejesh R URL: https://git.openjdk.org/jdk/commit/759cc675915c

Re: RFR: 8327969: Convert javax/swing/border/Test6910490.java applet test to main [v3]

2024-03-14 Thread Damon Nguyen
On Wed, 13 Mar 2024 04:54:23 GMT, Tejesh R wrote: >> Convert javax/swing/border/Test6910490.java applet test to main based test >> using PassFailJFrame. > > Tejesh R has updated the pull request incrementally with one additional > commit since the last revision: > > Review updates Marked as

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v2]

2024-03-14 Thread Alexander Zuev
On Thu, 14 Mar 2024 12:39:40 GMT, Abhishek Kumar wrote: >> Alexander Zuev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Minor fixes > > test/jdk/java/awt/Choice/NonFocusablePopupMenuTest.java line 46: > >> 44: Choice choice; >> 45

Integrated: 8320079: The ArabicBox.java test has no control buttons

2024-03-14 Thread Alexey Ivanov
On Tue, 12 Mar 2024 13:35:33 GMT, Alexey Ivanov wrote: > The test is converted to use `PassFailJFrame`. > > I confirmed the updated test reproduce the original problem described in > [JDK-4427483](https://bugs.openjdk.org/browse/JDK-4427483) where Arabic text > displayed as missing glyphs. Th

Re: RFR: JDK-8320675 : PrinterJob/SecurityDialogTest.java hangs

2024-03-14 Thread Alexey Ivanov
On Thu, 14 Mar 2024 11:52:09 GMT, Renjith Kannath Pariyangad wrote: > Hi Reviewers, > > I have updated the test with PassFailJFrame with information panel, earlier > this was informed through terminal. > Please review and let me know your suggestions if any. Marked as reviewed by aivanov (Re

Re: RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v3]

2024-03-14 Thread Alexey Ivanov
On Wed, 13 Mar 2024 16:56:39 GMT, Alexander Zvegintsev wrote: >> @azvegint, yes, we can support both. But I didn't test it thoroughly, so I >> decided it was safer to add this. >> >> Please, don't modify `PassFailJFrame` together with tests unless it's >> strictly required… It is for the sake

Re: RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v3]

2024-03-14 Thread Alexey Ivanov
On Wed, 13 Mar 2024 19:01:27 GMT, Alexander Zvegintsev wrote: >> The test is converted to main. >> Tested on Linux, Macos and Windows. > > Alexander Zvegintsev has updated the pull request incrementally with one > additional commit since the last revision: > > extract logFrameBounds, instruc

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v2]

2024-03-14 Thread Alexander Zuev
On Thu, 14 Mar 2024 12:41:20 GMT, Abhishek Kumar wrote: >> Alexander Zuev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Minor fixes > > test/jdk/java/awt/Choice/NonFocusablePopupMenuTest.java line 69: > >> 67: size = choic

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test [v2]

2024-03-14 Thread Alexander Zuev
> Convert test to the automatic main and move it from its own folder since it > is no longer required. Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision: Minor fixes - Changes: - all: https://git.openjdk.org/jdk/pull/1

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test

2024-03-14 Thread Alexander Zuev
On Thu, 14 Mar 2024 12:42:00 GMT, Abhishek Kumar wrote: >> Convert test to the automatic main and move it from its own folder since it >> is no longer required. > > test/jdk/java/awt/Choice/NonFocusablePopupMenuTest.java line 74: > >> 72: robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK)

Re: RFR: 8327873: Convert javax/swing/border/Test4247606.java applet test to main [v3]

2024-03-14 Thread Abhishek Kumar
On Wed, 13 Mar 2024 05:00:35 GMT, Tejesh R wrote: >> Convert javax/swing/border/Test4247606.java applet test to main based test >> using PassFailJFrame. > > Tejesh R has updated the pull request incrementally with one additional > commit since the last revision: > > Review updates Marked as

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test

2024-03-14 Thread Alexander Zuev
On Thu, 14 Mar 2024 12:40:59 GMT, Abhishek Kumar wrote: >> Convert test to the automatic main and move it from its own folder since it >> is no longer required. > > test/jdk/java/awt/Choice/NonFocusablePopupMenuTest.java line 65: > >> 63: }); >> 64: robot.waitForIdle(); >> 65:

Re: RFR: 8328124: Convert java/awt/Frame/ShownOnPack/ShownOnPack.html applet test to main

2024-03-14 Thread Abhishek Kumar
On Wed, 13 Mar 2024 19:43:10 GMT, Alexander Zvegintsev wrote: > The test is converted to main. > Tested on Linux, Macos and Windows. LGTM. test/jdk/java/awt/Frame/ShownOnPack/ShownOnPack.java line 34: > 32: * @build PassFailJFrame > 33: * @run main/manual ShownOnPack > 34: */ May add a bla

Re: RFR: 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test

2024-03-14 Thread Abhishek Kumar
On Thu, 14 Mar 2024 12:27:29 GMT, Alexander Zuev wrote: > Convert test to the automatic main and move it from its own folder since it > is no longer required. test/jdk/java/awt/Choice/NonFocusablePopupMenuTest.java line 46: > 44: Choice choice; > 45: Point pos; > 46: Dimension size

Re: RFR: 8328157: Move C[XX]FLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk

2024-03-14 Thread Magnus Ihse Bursie
On Thu, 14 Mar 2024 12:36:05 GMT, Magnus Ihse Bursie wrote: > We are setting one of the flags `CFLAGS_JDKLIB`, `CXXFLAGS_JDKLIB`, > `CFLAGS_JDKEXE` or `CXXFLAGS_JDKEXE` to `CFLAGS` or `CXXFLAGS`, respectively, > in basically all calls to `SetupJdkLibrary` and `SetupJdkExecutable`. > > These fl

  1   2   >