Integrated: 8198621: java/awt/Focus/KeyEventForBadFocusOwnerTest/KeyEventForBadFocusOwnerTest.java fails on mac

2021-04-26 Thread Prasanta Sadhukhan
On Fri, 23 Apr 2021 08:13:53 GMT, Prasanta Sadhukhan wrote: > This test was failing in earlier test sprint in CI system citing > java.lang.Exception: Not all expected events were received > One of the reason could be the frame was placed at topleft corner of screen. > Modified test to move fra

Re: RFR: 8198617: java/awt/Focus/6382144/EndlessLoopTest.java fails on mac

2021-04-26 Thread Prasanta Sadhukhan
On Sun, 25 Apr 2021 21:00:06 GMT, Sergey Bylokhov wrote: > > > Please check that 6382144 can be verified by the updated test. Build without 6382144 fix still fails with the updated test. - PR: https://git.openjdk.java.net/jdk/pull/3614

Re: RFR: 8198619: java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java fails on mac [v2]

2021-04-26 Thread Prasanta Sadhukhan
On Sun, 25 Apr 2021 20:56:30 GMT, Sergey Bylokhov wrote: >> Prasanta Sadhukhan has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Fix > > test/jdk/java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest

Re: RFR: 8198619: java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java fails on mac [v2]

2021-04-26 Thread Prasanta Sadhukhan
> This test was failing in CI nightly testing due to samevm mode issue. > Modified test to use waitForIdle() judiciously, dispose frame in finally > block and move the frame to center of screen. > Several iterations of the test pass in all platforms. Link in JBS. Prasanta Sadhukhan has updated t

Re: RFR: 8198619: java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java fails on mac [v3]

2021-04-26 Thread Prasanta Sadhukhan
> This test was failing in CI nightly testing due to samevm mode issue. > Modified test to use waitForIdle() judiciously, dispose frame in finally > block and move the frame to center of screen. > Several iterations of the test pass in all platforms. Link in JBS. Prasanta Sadhukhan has updated t

RFR: 8196300: java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java times out

2021-04-26 Thread Prasanta Sadhukhan
This test was timing out on windows during nightly testing possibly due to samevm mode issue when it was problemlisted. Modified test to increase the timing delay after frame is made visible, added waitForIdle() at suitable places and delays to make sure the execution steps are visible during ex

Re: RFR: 8265445: Introduce the new client property for mac: apple.awt.windowAppearance [v2]

2021-04-26 Thread Alexey Ushakov
> Implemented apple.awt.windowAppearance client property Alexey Ushakov has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since

Re: RFR: 8265761: Font with missed font family name is not properly printed on Windows

2021-04-26 Thread Alexander Scherbatiy
On Sun, 25 Apr 2021 20:53:11 GMT, Sergey Bylokhov wrote: >> Would it be better to use isBlank() instead of isEmpty() to check a font >> family name is blank? >> >> if (family.isBlank()) { >> return false; >> } > > I think so. I changed the test SampleBow font family

Re: RFR: 8265761: Font with missed font family name is not properly printed on Windows

2021-04-26 Thread Phil Race
On Thu, 22 Apr 2021 15:13:45 GMT, Alexander Scherbatiy wrote: > PDFBox 1.8 uses > [Graphics2D.drawGlyphVector()](https://github.com/apache/pdfbox/blob/41ae21bd4c3f304373d3b05f63af5325df248019/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDSimpleFont.java#L352) > method with scaled glyp

Re: RFR: 8198619: java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java fails on mac [v3]

2021-04-26 Thread Prasanta Sadhukhan
On Mon, 26 Apr 2021 07:44:37 GMT, Prasanta Sadhukhan wrote: >> This test was failing in CI nightly testing due to samevm mode issue. >> Modified test to use waitForIdle() judiciously, dispose frame in finally >> block and move the frame to center of screen. >> Several iterations of the test pa

Re: RFR: 8198617: java/awt/Focus/6382144/EndlessLoopTest.java fails on mac

2021-04-26 Thread Prasanta Sadhukhan
On Thu, 22 Apr 2021 06:08:05 GMT, Prasanta Sadhukhan wrote: > This test was failing earlier in our nightly testing citing > "java.lang.RuntimeException: java.awt.IllegalComponentStateException: > component must be showing on the screen to determine its location " > Updated test to > use swing

Re: RFR: 8197800: Test java/awt/Focus/NonFocusableWindowTest/NoEventsTest.java fails on Windows

2021-04-26 Thread Prasanta Sadhukhan
On Thu, 22 Apr 2021 11:52:27 GMT, Prasanta Sadhukhan wrote: > This test rootcause which is > > sun.awt.SunToolkit$InfiniteLoop > at sun.awt.SunToolkit.realSync(SunToolkit.java:1498) > at sun.awt.SunToolkit.realSync(SunToolkit.java:1426) > at java.awt.Robot.waitForIdle(Robot.java:574) > at NoEv

Re: RFR: 8196300: java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java times out

2021-04-26 Thread Jayathirth D V
On Mon, 26 Apr 2021 08:49:11 GMT, Prasanta Sadhukhan wrote: > This test was timing out on windows during nightly testing possibly due to > samevm mode issue when it was problemlisted. > Modified test to increase the timing delay after frame is made visible, added > waitForIdle() at suitable pl

Integrated: 8196300: java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java times out

2021-04-26 Thread Prasanta Sadhukhan
On Mon, 26 Apr 2021 08:49:11 GMT, Prasanta Sadhukhan wrote: > This test was timing out on windows during nightly testing possibly due to > samevm mode issue when it was problemlisted. > Modified test to increase the timing delay after frame is made visible, added > waitForIdle() at suitable pl