Conversation
|
What bug is being fixed with this change? It appears to be a stylistic change that doesn't impact the results. |
|
You can see this: dwr/core/api/main/java/org/directwebremoting/util/LocalUtil.java Lines 1179 to 1197 in c1d9375 the code run this: clazz = LocalUtil.class.getClassLoader().loadClass(remappedClassName);immediately after this: clazz = Thread.currentThread().getContextClassLoader().loadClass(remappedClassName);So even |
|
Yes, thanks. I wonder if the first attempt is even needed. I would have to look into more but this change looks fine. |
Previous
LocalUtil.javamakes below useless:clazz = Thread.currentThread().getContextClassLoader().loadClass(remappedClassName);Because of the next:
clazz = LocalUtil.class.getClassLoader().loadClass(remappedClassName);