Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8321602

Create manual test for Desktop.browse with COINIT_MULTITHREADED

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 16, 17, 21, 22
    • client-libs
    • b28
    • 16

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              aivanov Alexey Ivanov
              aivanov Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: