On Fri, 22 Apr 2022 22:30:06 GMT, Sergey Bylokhov <s...@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

Reply via email to