Oh the bad choice of property names. That's not no. Also added a comment
explaining why we don't care if we get a SecurityException. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@136 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -167,8 +167,9 @@ public class ResourceManager
|
|||||||
// check a system property to determine if we should unpack our bundles, but don't freak
|
// check a system property to determine if we should unpack our bundles, but don't freak
|
||||||
// out if we fail to read it
|
// out if we fail to read it
|
||||||
try {
|
try {
|
||||||
_unpack = Boolean.getBoolean("no_unpack_resources");
|
_unpack = !Boolean.getBoolean("no_unpack_resources");
|
||||||
} catch (SecurityException se) {
|
} catch (SecurityException se) {
|
||||||
|
// no problem, we're in a sandbox so we definitely won't be unpacking
|
||||||
}
|
}
|
||||||
|
|
||||||
// get our resource directory from resource_dir if possible
|
// get our resource directory from resource_dir if possible
|
||||||
|
|||||||
Reference in New Issue
Block a user