From 7636080403ce45724aa001998eb19f5c8f84cc20 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Tue, 23 Aug 2011 07:05:46 +0000 Subject: [PATCH] =?UTF-8?q?Adding=20an=20exception=20to=20catch=20AccessCo?= =?UTF-8?q?ntrolExceptions=20in=20Google=20App=20Engine=20as=20reported=20?= =?UTF-8?q?by=20Cl=C3=A9ment=20Denis=20in=20LANG-744?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1160568 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/lang3/StringUtils.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 3257bba1b..c5c18cfab 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -743,6 +743,9 @@ public class StringUtils { sunAvailable = false; } catch (NoSuchMethodException e) { sunAvailable = false; + } catch (java.security.AccessControlException e) { + // LANG-744 - thrown in Google App Engine + sunAvailable = false; } }