java.awt.FileDialog does not work properly bundled but not sandboxed app

Hendrik Schreiber hs at tagtraum.com
Fri May 23 17:26:58 UTC 2014


Hey,

I'm under the impression that the java.awt.FileDialog in mode FileDialog.LOAD does not work properly when invoked from an app bundle.
As in: It always assumes a sandbox and does not give me access to all files anymore.
It does not matter, if the bundle was signed or not.
The bundle was created with https://bitbucket.org/infinitekind/appbundler
Note that AppBundler passes in a system property -DSandboxEnabled=true, if it finds *any* Containers folder. Meaning, it's only an indication for whether sandboxing is possible at all, *not* whether this particular app is sandboxed.

There is no problem, when launching the same app via the regular java launcher.

Does anybody else have this problem?

Cheers,

-hendrik


More information about the macosx-port-dev mailing list