Other |
---|
tbdUnresolved |
Relates :
|
|
Relates :
|
JDK-8270269 reports an issue where Desktop.browse (or open/print for that matter) fail if the calling thread initialised COM with COINIT_MULTITHREADED. A manual test with native code could be created which initialises COM, then it calls Desktop.browse or another API and asks the tester to confirm the operation completed successfully. Foreign Function & Memory API (JEP 454 / JDK-8310626) could be used for 22 and later to avoid having native library. This cannot be an automated test, there's no reliable way to open a file or URL and to close the application.