Opened 5 years ago
Closed 5 years ago
#20033 closed defect (othersoftware)
MacOS app doesn't launch on first run
Reported by: | Stereo | Owned by: | Stereo |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Installer MacOS | Version: | latest |
Keywords: | macos javabug othersoftware | Cc: |
Description (last modified by )
When opening a quarantined app for the first time, macOS 10.15 and earlier passes an extra -psn_0_XXX argument, where XXX is the process serial number. This is a legacy behaviour from the days of the Carbon framework and collaborative multitasking.
This means that with the new builds, JOSM.app will close on its first run, and run fine on every subsequent run.
This has been reported as a java bug (https://bugs.openjdk.java.net/browse/JDK-8240877). In the meanwhile, you might have to open JOSM twice after installing it.
A workaround could be to ignore the -p argument.
The problem doesn't happen in macOS Big Sur (11.0.1).
Attachments (0)
Change History (7)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:4 by , 5 years ago
Description: | modified (diff) |
---|
comment:6 by , 5 years ago
Description: | modified (diff) |
---|
comment:7 by , 5 years ago
Resolution: | → othersoftware |
---|---|
Status: | new → closed |
We just have to wait for Java 16 then.
An example argument is
-psn_0_10615327
. JOSM then dies withJOSM: unrecognised option '-p'
This was, as you can imagine, a lot of fun to debug :). Thomas Skowron and Vincent Privat helped me out a lot.