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

[macos] FileAssociationsTest fails to open associated file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 16
    • tools

      FileAssociationsTest fails to open associated file with following error message.
      I can reproduce this issue always on macOS Catalina.

      java.io.IOException: Failed to open, edit or print /private/tmp/jpackage_jtreg_testing/run/support/tools/jpackage/share/FileAssociationsTest_id1/test.c290a14e/test.jptest1. Error code: -10814
      at java.desktop/sun.lwawt.macosx.CDesktopPeer.lsOpenFile(CDesktopPeer.java:177)
      at java.desktop/sun.lwawt.macosx.CDesktopPeer.open(CDesktopPeer.java:54)
      at java.desktop/java.awt.Desktop.open(Desktop.java:429)
      at jdk.jpackage.test.PackageTest.lambda$addHelloAppFileAssociationsVerifier$16(PackageTest.java:266)
      at jdk.jpackage.test.PackageTest.lambda$withTestFileAssociationsFile$14(PackageTest.java:230)
      at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41)
      at jdk.jpackage.test.TKit.withTempFile(TKit.java:345)
      at jdk.jpackage.test.PackageTest.withTestFileAssociationsFile(PackageTest.java:226)

            almatvee Alexander Matveev
            almatvee Alexander Matveev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: