Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4082

<hidden-classes> ignored for certain classes that are loaded by system class loader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 2.1.2, 2.2
    • kernel
    • Security Level: public (Regular issues)
    • None
    • All

    Description

      There is a problem with the hidden-classes element not
      working for asm classes. The reason was the optimized class loading
      mechanism which does not check if the classes are hidden before the
      code block given below

      //
      // No dice, let's offer the primordial loader a shot...
      //
      try

      { return resolveClass(findSystemClass(name), resolve); }

      catch (ClassNotFoundException cnfe)

      { // ignore...just being a good citizen. }

      I was able to get this to work by reverting to the safe method of
      finding classes via the system property
      -DXorg.apache.geronimo.kernel.config.MPCLSearchOption=safe

      Attachments

        Activity

          People

            kevan Kevan Lee Miller
            manucet Manu T George
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: