Withdrawn: 8305427: Write a test Check whether focus changes as expected when requestFocus is used to traverse randomly around the window

2023-08-23 Thread duke
On Mon, 3 Apr 2023 10:00:21 GMT, Ravi Gupta wrote: > This testcase Checking whether the Component becoming the Focus Owner and > FocusEvent.FOCUS_GAINED will be received by the Component when the focus is > requested on the component using requestFocus. > > Testing: > Tested using Mach5(20 tim

Withdrawn: 8307325: Verify the focus owner when non focused windows requesting focus

2023-08-23 Thread duke
On Thu, 4 May 2023 05:41:43 GMT, Ravi Gupta wrote: > Write a test Check, when the top level Window is not the focused Window > requesting for focus and becoming the Focus Owner for any Component in that > Window checking the following > > 1.The Component is the Focus Owner and the Window becom

Re: RFR: JDK-8311113: Remove invalid pointer cast and clean up setLabel() in awt_MenuItem.cpp

2023-08-23 Thread Harshitha Onkar
On Wed, 16 Aug 2023 03:57:29 GMT, Sergey Bylokhov wrote: >> In awt_MenuItem.cpp (712,22): ` mii.dwTypeData = (LPTSTR)(*sb)` produces >> invalid pointer cast warning when complied on clang and moreover this is a >> no-op. >> >> `mii.dwTypeData` is used only when **MIIM_STRING** flag is set i

Re: RFR: 8139208: [macosx] Issue with setExtendedState of JFrame [v2]

2023-08-23 Thread Harshitha Onkar
On Mon, 14 Aug 2023 21:00:56 GMT, Alisen Chung wrote: >> @alisenchung >> >> An automated test can be created by adding Component Listener to the >> reproducer test in JBS. The following code throws Runtime Exception if the >> frame was visible at the original size of 200 x 200 before it was m

Re: RFR: JDK-8311113: Remove invalid pointer cast and clean up setLabel() in awt_MenuItem.cpp [v2]

2023-08-23 Thread Harshitha Onkar
> In awt_MenuItem.cpp (712,22): ` mii.dwTypeData = (LPTSTR)(*sb)` produces > invalid pointer cast warning when complied on clang and moreover this is a > no-op. > > `mii.dwTypeData` is used only when **MIIM_STRING** flag is set in the fMask > (as per > [Docs](https://learn.microsoft.com/en-

Follow up to "8313698: BaseMultiResolutionImage doesn't work as icon of java.awt.Window on Linux"

2023-08-23 Thread Andrei Rybak
Hello, I've reported https://bugs.openjdk.org/browse/JDK-8313698 and, unfortunately, there's some confusion in the ticket due to my poor choice of words for describing the _default_ icon of the JFrame. The default icon depends on the vendor of the JDK, and it isn't the Duke icon for all of them.

Integrated: 8294535 : Add screen capture functionality to PassFailJFrame

2023-08-23 Thread lawrence . andrews
On Tue, 23 May 2023 02:52:03 GMT, lawrence.andrews wrote: > 1) Used builder pattern > 2) Tested AWT tests and it passed This pull request has now been integrated. Changeset: dbb788f3 Author:lawrence.andrews Committer: Alexey Ivanov URL: https://git.openjdk.org/jdk/commit/dbb788f34

Re: RFR: 8139208: [macosx] Issue with setExtendedState of JFrame [v6]

2023-08-23 Thread lawrence . andrews
On Wed, 23 Aug 2023 17:42:54 GMT, Alisen Chung wrote: >> Swapped order of showing frame and managing extended frame state. > > Alisen Chung has updated the pull request incrementally with four additional > commits since the last revision: > > - add copyright > - update test > - update test >

Re: RFR: 8139208: [macosx] Issue with setExtendedState of JFrame [v2]

2023-08-23 Thread lawrence . andrews
On Mon, 14 Aug 2023 21:00:56 GMT, Alisen Chung wrote: >> @alisenchung >> >> An automated test can be created by adding Component Listener to the >> reproducer test in JBS. The following code throws Runtime Exception if the >> frame was visible at the original size of 200 x 200 before it was m

Re: RFR: 8139208: [macosx] Issue with setExtendedState of JFrame [v6]

2023-08-23 Thread Alisen Chung
> Swapped order of showing frame and managing extended frame state. Alisen Chung has updated the pull request incrementally with four additional commits since the last revision: - add copyright - update test - update test - update test - Changes: - all: https://git.openjdk.or

Re: RFR: 8139208: [macosx] Issue with setExtendedState of JFrame [v5]

2023-08-23 Thread Alisen Chung
> Swapped order of showing frame and managing extended frame state. Alisen Chung has updated the pull request incrementally with one additional commit since the last revision: update test - Changes: - all: https://git.openjdk.org/jdk/pull/15236/files - new: https://git.openjd

Re: RFR: JDK-8313764: Offer JVM HS functionality to shared lib load operations done by the JDK codebase [v2]

2023-08-23 Thread Matthias Baesken
> Currently there is a number of functionality that would be interesting to > have for shared lib load operations in the JDK C code. > Some examples : > Events::log_dll_message for hs-err files reporting > JFR event NativeLibraryLoad > There is the need to update the shared lib Cache on AIX ( see

Re: RFR: JDK-8313764: Offer JVM HS functionality to shared lib load operations done by the JDK codebase

2023-08-23 Thread Martin Doerr
On Mon, 14 Aug 2023 07:48:00 GMT, Matthias Baesken wrote: > Currently there is a number of functionality that would be interesting to > have for shared lib load operations in the JDK C code. > Some examples : > Events::log_dll_message for hs-err files reporting > JFR event NativeLibraryLoad > Th

Integrated: 8312555: Ideographic characters aren't stretched by AffineTransform.scale(2, 1)

2023-08-23 Thread Alexey Ivanov
On Thu, 17 Aug 2023 20:43:59 GMT, Alexey Ivanov wrote: > **Problem** > > Glyphs aren't stretched by applying an affine transform `scale(2, 1)` to a > font. Instead, the space between glyphs increases. > > **Root Cause** > > Bitmaps embedded in the font are used to render the glyphs; the bitma