Skip to content

Commit 03e151a

Browse files
committed
http://code.google.com/p/mybatis/issues/detail?id=217 , catch just SecurityException instead of Exception
1 parent 065a1d5 commit 03e151a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/io/ClassLoaderWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class ClassLoaderWrapper {
1414
ClassLoaderWrapper() {
1515
try {
1616
systemClassLoader = ClassLoader.getSystemClassLoader();
17-
} catch (Exception ignored) {
17+
} catch (SecurityException ignored) {
1818
// AccessControlException on Google App Engine
1919
}
2020
}

0 commit comments

Comments
 (0)