Karl Pauls created SLING-9802: --------------------------------- Summary: Launcher Classloader is not synchronizing loadClass correctly Key: SLING-9802 URL: https://issues.apache.org/jira/browse/SLING-9802 Project: Sling Issue Type: Bug Components: Feature Model Affects Versions: Feature Model Launcher 1.1.6 Reporter: Karl Pauls Assignee: Karl Pauls Fix For: Feature Model Launcher 1.1.8
The default LauncherClassloader is not synchronizing its loadClass method correctly. As it just delegates to the findClass of the URLClassloader it extends, it needs to at a minimum lock on the classname it is trying to load - otherwise, it is possible that it will catch a LinkageError if the same class load is happening concurrently. -- This message was sent by Atlassian Jira (v8.3.4#803005)