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:
Henri Yandell 2011-08-23 07:05:46 +00:00
parent e234e7d341
commit 7636080403
1 changed files with 3 additions and 0 deletions

View File

@ -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;
} }
} }