8132382: [macosx] Crash during JMC or JavaFX execution when NSApplication is controlled by SWT or JavaFX libraries
Reviewed-by: kizune, alexsch
Attempting unprivileged execution...
Unprivileged execution failed with java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.security.policy" "read")
Attempting privileged execution...
Successfully retrieved restricted system property.