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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2, 2.2
    • Component/s: kernel
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: