RFR: 8277816: Client tests fail on macos-Aarch64 host

2022-04-13 Thread Prasanta Sadhukhan
This tests was failing on macos12 M1 systems due to wrong color profile configurations set in CI systems. If correct sRGB IEC61966-2.1 is set, then these test passed. Test job link in JBS.. So, removing from Problem list.. - Commit messages: - 8277816: Client tests fail on macos-A

Re: RFR: 8194946: Regression automated Test 'javax/swing/JFileChooser/6738668/bug6738668.java' fails [v3]

2022-04-13 Thread Prasanta Sadhukhan
> Test was failing in CI system in nightly testing. > Saw it failed with HeadlessException in macos-x64 and mascos-aarch64 and with > GTKL&F not supported in linux-x64 in headless CI system. > Made the test headful and test now passes in all platforms (link in JBS) Prasanta Sadhukhan has updated

Re: RFR: 8194946: Regression automated Test 'javax/swing/JFileChooser/6738668/bug6738668.java' fails [v2]

2022-04-13 Thread Prasanta Sadhukhan
On Tue, 12 Apr 2022 20:28:43 GMT, Alexey Ivanov wrote: >> Prasanta Sadhukhan has updated the pull request with a new target base due >> to a merge or a rebase. The pull request now contains two commits: >> >> - Merge branch 'master' into JDK-8194946 >> - 8194946: Regression automated Test >>

Re: RFR: 8194946: Regression automated Test 'javax/swing/JFileChooser/6738668/bug6738668.java' fails [v3]

2022-04-13 Thread Alexey Ivanov
On Wed, 13 Apr 2022 08:56:53 GMT, Prasanta Sadhukhan wrote: >> Test was failing in CI system in nightly testing. >> Saw it failed with HeadlessException in macos-x64 and mascos-aarch64 and >> with GTKL&F not supported in linux-x64 in headless CI system. >> Made the test headful and test now pas

Integrated: 8194946: Regression automated Test 'javax/swing/JFileChooser/6738668/bug6738668.java' fails

2022-04-13 Thread Prasanta Sadhukhan
On Tue, 12 Apr 2022 12:27:22 GMT, Prasanta Sadhukhan wrote: > Test was failing in CI system in nightly testing. > Saw it failed with HeadlessException in macos-x64 and mascos-aarch64 and with > GTKL&F not supported in linux-x64 in headless CI system. > Made the test headful and test now passes

RFR: 8284767: Create an automated test for JDK-4422535

2022-04-13 Thread Srinivas Mandalika
Create an automated test for [JDK-4422535](https://bugs.openjdk.java.net/browse/JDK-4422535) AccessibleValue implementation only accept Integers The AccessibleValue implementations of the following components: java.awt.Scrollbar javax.swing.AbstractButton javax.swing.JInternalFrame javax.swing.JS

RFR: 8159694: HiDPI, Unity, java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java

2022-04-13 Thread Alexander Zvegintsev
Window's title height was increased in Gnome/Unity since it was written, so the test tries to initiate drag on frame's header instead of its body. Making the frame undecorated solves the issue. Testing is green on all platforms. - Commit messages: - initial Changes: https://git.o

Re: RFR: 8284521: Write an automated regression test for RFE 4371575 [v2]

2022-04-13 Thread Manukumar V S
On Sat, 9 Apr 2022 05:27:37 GMT, Sergey Bylokhov wrote: >> Manukumar V S has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Review comment fixed: Removed unwanted directory > > Marked as reviewed by serb (Reviewer). @mrserb Can you sponsor

RFR: 8223543: [TESTBUG] Regression test java/awt/Graphics2D/DrawString/LCDTextSrcEa.java has issues

2022-04-13 Thread Phil Race
This test had problem described in the bug report, and most of it was related to being headful. But actually the test didn't need to be headful - it did the actual rendering it wanted to test to a software BufferedImage. So make it headless. Also only Windows always supports LCD text, so run the

Re: RFR: 8283803 : Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintGlyphVectorTest.java and fix test [v5]

2022-04-13 Thread lawrence . andrews
> Fixed the following issue. > 1) Removed yes/no since test was failing due to "Parser error due to yesno in > @run main/manual=yesno" > 2) After removing yes/no test run( just shows the UI and gets dispose > immediately). User cannot interact with the test UI and mark the test pass or > failed.

Integrated: 8284775: Simplify String.substring(_, length()) calls

2022-04-13 Thread Andrey Turbanov
On Tue, 12 Apr 2022 19:38:33 GMT, Andrey Turbanov wrote: > Default `to` index for String.substring method call is length of the String. > We can simplify code a bit, by omitting default value. This pull request has now been integrated. Changeset: bf1c3ef0 Author:Andrey Turbanov URL:

RFR: 8284853: Fix varios 'expected' typo

2022-04-13 Thread Andrey Turbanov
Found various typos of expected: `exepected`, `exept`, `epectedly`, `expeced`, `Unexpeted`, etc. - Commit messages: - [PATCH] Fix 'expected' typo - [PATCH] Fix 'expected' typo - [PATCH] Fix 'expected' typo Changes: https://git.openjdk.java.net/jdk/pull/8231/files Webrev: https:/

RFR: 6626492: Event time in future part 2, now on X

2022-04-13 Thread Alexander Zvegintsev
This fix simply remove the test from ProblemList, since the issue is no longer reproducible. Multiple CI test runs are green. - Commit messages: - initial Changes: https://git.openjdk.java.net/jdk/pull/8232/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8232&range=00

Re: RFR: 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again)

2022-04-13 Thread Alexander Zvegintsev
On Wed, 13 Apr 2022 21:28:35 GMT, Alexander Zvegintsev wrote: > This test has two undecorated frames: > > 1. background, 300x300 > 2. shaped foreground, 200x200 > > After displaying this frames it tries to check color outside of shape but > within frame 2 bounds. > > Unfortunately, on Linux

RFR: 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again)

2022-04-13 Thread Alexander Zvegintsev
This test has two undecorated frames: 1. background, 300x300 2. shaped foreground, 200x200 After displaying this frames it tries to check color outside of shape but within frame 2 bounds. Unfortunately, on Linux and macOS there is a shadow around the shaped frame: ![image](https://user-images.

Re: RFR: 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again)

2022-04-13 Thread Sergey Bylokhov
On Wed, 13 Apr 2022 21:30:06 GMT, Alexander Zvegintsev wrote: >> This test has two undecorated frames: >> >> 1. background, 300x300 >> 2. shaped foreground, 200x200 >> >> After displaying this frames it tries to check color outside of shape but >> within frame 2 bounds. >> >> Unfortunately,

Re: RFR: 6626492: Event time in future part 2, now on X

2022-04-13 Thread Sergey Bylokhov
On Wed, 13 Apr 2022 20:51:41 GMT, Alexander Zvegintsev wrote: > This fix simply remove the test from ProblemList, since the issue is no > longer reproducible. > > Multiple CI test runs are green. Looks fine, I think it was fixed as part of JDK-7194219 - Marked as reviewed by ser

Re: RFR: 8223543: [TESTBUG] Regression test java/awt/Graphics2D/DrawString/LCDTextSrcEa.java has issues

2022-04-13 Thread Sergey Bylokhov
On Wed, 13 Apr 2022 17:08:51 GMT, Phil Race wrote: > This test had problem described in the bug report, and most of it was related > to being headful. > But actually the test didn't need to be headful - it did the actual rendering > it wanted to test to > a software BufferedImage. So make it he

Re: RFR: 8159694: HiDPI, Unity, java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java

2022-04-13 Thread Sergey Bylokhov
On Wed, 13 Apr 2022 11:27:44 GMT, Alexander Zvegintsev wrote: > Window's title height was increased in Gnome/Unity since it was written, so > the test tries to initiate drag on frame's header instead of its body. > Making the frame undecorated solves the issue. > Testing is green on all platf

Re: RFR: 8223543: [TESTBUG] Regression test java/awt/Graphics2D/DrawString/LCDTextSrcEa.java has issues

2022-04-13 Thread Phil Race
On Wed, 13 Apr 2022 21:50:47 GMT, Sergey Bylokhov wrote: > Are there any differences in rendering LCD to the buffered image or to the > volatile image? There shouldn't be since it is the same code (loops) in both cases. We have to read back from a volatile image to get a s/w surface for LCD te

Re: RFR: 8284853: Fix varios 'expected' typo

2022-04-13 Thread Brian Burkhalter
On Wed, 13 Apr 2022 20:36:48 GMT, Andrey Turbanov wrote: > Found various typos of expected: `exepected`, `exept`, `epectedly`, > `expeced`, `Unexpeted`, etc. Expect the Unexpeted. - Marked as reviewed by bpb (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/8231

Re: RFR: 8277816: Client tests fail on macos-Aarch64 host

2022-04-13 Thread Sergey Bylokhov
On Wed, 13 Apr 2022 07:40:50 GMT, Prasanta Sadhukhan wrote: > This tests was failing on macos12 M1 systems due to wrong color profile > configurations set in CI systems. > If correct sRGB IEC61966-2.1 is set, then these test passed. Test job link in > JBS.. > > So, removing from Problem list.

Re: RFR: 8284853: Fix varios 'expected' typo

2022-04-13 Thread Chris Plummer
On Wed, 13 Apr 2022 20:36:48 GMT, Andrey Turbanov wrote: > Found various typos of expected: `exepected`, `exept`, `epectedly`, > `expeced`, `Unexpeted`, etc. test/jdk/java/lang/StackWalker/StackStreamTest.java line 218: > 216: private static void equalsOrThrow(String label, List list, >

Re: RFR: 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again) [v2]

2022-04-13 Thread Alexander Zvegintsev
> This test has two undecorated frames: > > 1. background, 300x300 > 2. shaped foreground, 200x200 > > After displaying this frames it tries to check color outside of shape but > within frame 2 bounds. > > Unfortunately, on Linux and macOS there is a shadow around the shaped frame: > ![image](

Re: RFR: 8144030: [macosx] test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails (again) [v2]

2022-04-13 Thread Alexander Zvegintsev
On Wed, 13 Apr 2022 21:46:57 GMT, Sergey Bylokhov wrote: >> test/jdk/java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java line >> 144: >> >>> 142: point.y, >>> 143: BACKGROUND_COLOR >>> 144: ); >> >> Dunno why the old ver

Re: RFR: 8257733: Move module-specific data from make to respective module [v6]

2022-04-13 Thread Alan Bateman
Magnus, This proposal does not address the previous concerns. As before, you are proposing to put the data files used to generate the classes for jdk.localedata and jdk.charsets into src/java.base and I don't think we should do that. I really think this PR needs to be withdraw n or closed unt

[Request] Post a message to all the list members

2022-04-13 Thread Bergeron , Jérémie
Hi, I am the person who created this issues: https://bugs.openjdk.java.net/browse/JDK-8284730 I am messaging you, because I don't have an account, so I can't answer Praveen Narayanaswamy. I would like to say to him that his suggestion is not an good solution. I can't copy paste file from "%u

Re: RFR: 8257733: Move module-specific data from make to respective module [v6]

2022-04-13 Thread Alan Bateman
On 16/03/2022 08:44, Magnus Ihse Bursie wrote: : If you have such strong opinions on the data files shared between java.base and jdk.charsets/jdk.localedata, I propose we leave them in make/data for the time being, clean up the associated mess, and then work out where they actually should be.