You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (Jira)" <ji...@apache.org> on 2020/10/21 21:02:00 UTC

[jira] [Closed] (SLING-9802) Launcher Classloader is not synchronizing loadClass correctly

     [ https://issues.apache.org/jira/browse/SLING-9802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls closed SLING-9802.
-----------------------------

> 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
>            Priority: Major
>             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)