Adding an exception to catch AccessControlExceptions in Google App Engine as reported by Clément Denis in LANG-744
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160568 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e234e7d341
commit
7636080403
|
@ -743,6 +743,9 @@ public class StringUtils {
|
||||||
sunAvailable = false;
|
sunAvailable = false;
|
||||||
} catch (NoSuchMethodException e) {
|
} catch (NoSuchMethodException e) {
|
||||||
sunAvailable = false;
|
sunAvailable = false;
|
||||||
|
} catch (java.security.AccessControlException e) {
|
||||||
|
// LANG-744 - thrown in Google App Engine
|
||||||
|
sunAvailable = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue