ddddyyyy commented on a change in pull request #248:
URL: https://github.com/apache/shiro/pull/248#discussion_r472569626
##########
File path: lang/src/main/java/org/apache/shiro/lang/util/ClassUtils.java
##########
@@ -252,7 +274,7 @@ public Class loadClass(String fqcn) {
ClassLoader cl = getClassLoader();
if (cl != null) {
try {
- clazz = cl.loadClass(fqcn);
+ clazz = Class.forName(fqcn,false,cl);
Review comment:
> Would you please add the whitespace? Then the code would be consistent
again (whitespace after parameter comma). Thanks!
OK.I have added whitespace in the latest commit.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]