ICU-4512 wrap properties test in try/catch for security
X-SVN-Rev: 17583
This commit is contained in:
parent
4ad4ae521e
commit
162b0d052f
@ -31,7 +31,16 @@ import com.ibm.icu.text.UnicodeSet;
|
||||
|
||||
public class BagFormatter {
|
||||
static final boolean DEBUG = false;
|
||||
public static final boolean SHOW_FILES = System.getProperty("SHOW_FILES") != null;
|
||||
public static final boolean SHOW_FILES;
|
||||
static {
|
||||
boolean showFiles = false;
|
||||
try {
|
||||
showFiles = System.getProperty("SHOW_FILES") != null;
|
||||
}
|
||||
catch (SecurityException e) {
|
||||
}
|
||||
SHOW_FILES = showFiles;
|
||||
}
|
||||
|
||||
private static final String BASE_RULES =
|
||||
"'<' > '<' ;" +
|
||||
|
Loading…
Reference in New Issue
Block a user