[jfx11u] RFR: 8267819: CoInitialize/CoUninitialize should be called on same thread

2021-08-19 Thread Ambarish Rapte
This is clean backport. Tested the patch in a [branch](https://github.com/arapte/jfx11u/tree/cherry-pick). Backports tested in above branch are : [JDK-8264737](https://bugs.openjdk.java.net/browse/JDK-8264737), [JDK-8266860](https://bugs.openjdk.java.net/browse/JDK-8266860), [JDK-8267819](https

Re: RFR: 8267819: CoInitialize/CoUninitialize should be called on same thread

2021-06-02 Thread Ambarish Rapte
On Thu, 27 May 2021 04:18:24 GMT, Alexander Matveev wrote: > JDK-8264737 introduced new code for audio device removal/arrival > notifications which calls CoInitialize/CoUninitialize on separate threads. > CoInitialize/CoUninitialize should be called on same thread, since > initialization is p

Re: RFR: 8267819: CoInitialize/CoUninitialize should be called on same thread

2021-06-02 Thread Alexander Matveev
On Wed, 2 Jun 2021 14:29:41 GMT, Ambarish Rapte wrote: >> JDK-8264737 introduced new code for audio device removal/arrival >> notifications which calls CoInitialize/CoUninitialize on separate threads. >> CoInitialize/CoUninitialize should be called on same thread, since >> initialization is pe

Re: RFR: 8267819: CoInitialize/CoUninitialize should be called on same thread

2021-06-02 Thread Ambarish Rapte
On Thu, 27 May 2021 04:18:24 GMT, Alexander Matveev wrote: > JDK-8264737 introduced new code for audio device removal/arrival > notifications which calls CoInitialize/CoUninitialize on separate threads. > CoInitialize/CoUninitialize should be called on same thread, since > initialization is p

Re: RFR: 8267819: CoInitialize/CoUninitialize should be called on same thread

2021-05-27 Thread Alexander Matveev
On Thu, 27 May 2021 04:18:24 GMT, Alexander Matveev wrote: > JDK-8264737 introduced new code for audio device removal/arrival > notifications which calls CoInitialize/CoUninitialize on separate threads. > CoInitialize/CoUninitialize should be called on same thread, since > initialization is p

Re: RFR: 8267819: CoInitialize/CoUninitialize should be called on same thread

2021-05-27 Thread Kevin Rushforth
On Thu, 27 May 2021 04:18:24 GMT, Alexander Matveev wrote: > JDK-8264737 introduced new code for audio device removal/arrival > notifications which calls CoInitialize/CoUninitialize on separate threads. > CoInitialize/CoUninitialize should be called on same thread, since > initialization is p

RFR: 8267819: CoInitialize/CoUninitialize should be called on same thread

2021-05-26 Thread Alexander Matveev
JDK-8264737 introduced new code for audio device removal/arrival notifications which calls CoInitialize/CoUninitialize on separate threads. CoInitialize/CoUninitialize should be called on same thread, since initialization is per thread. Doing it on separate thread will result in unloading COM l