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)
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)