Let's not choke while we're trying to recover from a security exception.
This commit is contained in:
@@ -87,8 +87,13 @@ public abstract class Getdown extends Thread
|
|||||||
public Getdown (File appDir, String appId, Object[] signers)
|
public Getdown (File appDir, String appId, Object[] signers)
|
||||||
{
|
{
|
||||||
super("Getdown");
|
super("Getdown");
|
||||||
_silent = Boolean.getBoolean("silent");
|
try {
|
||||||
_delay = Integer.getInteger("delay", 0);
|
_silent = Boolean.getBoolean("silent");
|
||||||
|
_delay = Integer.getInteger("delay", 0);
|
||||||
|
} catch (SecurityException se) {
|
||||||
|
// don't freak out, just assume non-silent and no delay; we're probably already
|
||||||
|
// recovering from a security failure
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
_msgs = ResourceBundle.getBundle("com.threerings.getdown.messages");
|
_msgs = ResourceBundle.getBundle("com.threerings.getdown.messages");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user