Mark ResourceEntry.loadedClass as volatile.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 26 Mar 2010 14:40:30 +0000 (14:40 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 26 Mar 2010 14:40:30 +0000 (14:40 +0000)
commit25710b6aabc9425f223ca3fe45d423ee864d4a77
tree508636ee2d58abe182688f8346c24d2194aa0768
parente9d0c3d1d4939d518957082963c10f8c58625a6f
Mark ResourceEntry.loadedClass as volatile.
That is because WebappClassLoader#findClassInternal() uses double-checked locking to initialize this field.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@927877 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/loader/ResourceEntry.java