Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-340

InstallationClassLoader only loads classes from the first shared library for a component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.2, 3.0-M1, 3.0-M2, 3.0.1
    • 3.0-M1
    • servicemix-core
    • None

    Description

      InstallationClassLoader.findClass(String) iterates over shared library classloaders to invoke findClass(String) on them. Unfortunately it breaks out of the loop after the first attempt, regardless of whether the shared library returned the class or not. Effectively this means only the first shared library of a component is ever used as such.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            mstudman Michael Studman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: