Project: SWT
Bug 163594 Program.launch doesn't work on OSX
Reported: 2006-11-06 15:56:59 | Status: resolved fixed

The code for Program.launch for Mac wraps the file in a "file://" + param. The param is not encoded in any way, so it fails on files with spaces. The the very least, a replaceAll(" ", "%20") is needed. Possibly a URLEncoder.encode() as well. SWT 3.3M2

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java