RFR: 7080150: [TEST_BUG][macosx] No mac os x EmbeddedFrame support in regression regtesthelpers [v2]
Alisen Chung
achung at openjdk.java.net
Mon Apr 25 17:24:23 UTC 2022
On Fri, 22 Apr 2022 22:30:06 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> CEmbeddedFrame doesn't have a way to pass in a handle like in WEmbeddedFrame and XEmbeddedFrame, so I can't pass in the peer's target. If I try to use CEmbeddedFrame the test window will pop up but the EmbeddedFrame won't show up and the test fails
>
> Are you sure that CEmbeddedFrame is used in the embedding functionality? We have another one on macOS CViewEmbeddedFrame. One of them was used for applets another one was used by the JAWT and SWT. Please double-check that the correct one is used for this test, and another one probably can be removed.
I see that windows and linux have a long value that identifies the window that gets pass into the constructor of the EmbeddedFrame class object. Is there an equivalent in macOS? I see that CViewEmbeddedFrame has the nsViewPtr that is equivalent, but I don't see any way to find that value from LWComponentPeer.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8348
More information about the client-libs-dev
mailing list