Skip to content

Commit

Permalink
No need to include class in message, results in "classclass"
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1145981 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
markt-asf committed Jul 13, 2011
1 parent 1d372c8 commit 787a164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/org/apache/catalina/core/DefaultInstanceManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ private void checkAccess(Class<?> clazz) {
private void checkAccess(Class<?> clazz, Properties restricted) {
while (clazz != null) {
if ("restricted".equals(restricted.getProperty(clazz.getName()))) {
throw new SecurityException("Restricted class" + clazz);
throw new SecurityException("Restricted " + clazz);
}
clazz = clazz.getSuperclass();
}
Expand Down

0 comments on commit 787a164

Please sign in to comment.