Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9802

Launcher Classloader is not synchronizing loadClass correctly

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            karlpauls Karl Pauls
            karlpauls Karl Pauls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: