Geronimo
  1. Geronimo
  2. GERONIMO-4082

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

        Activity

        Manu T George created issue -
        Hide
        Joe Bohn added a comment -

        Added fix version of 2.1.2 per update by Jarek indicating that it was required for 2.1.2 release when he edited the release plan for 2.1.2.

        Show
        Joe Bohn added a comment - Added fix version of 2.1.2 per update by Jarek indicating that it was required for 2.1.2 release when he edited the release plan for 2.1.2.
        Joe Bohn made changes -
        Field Original Value New Value
        Fix Version/s 2.1.2 [ 12313123 ]
        Kevan Miller made changes -
        Assignee Kevan Miller [ kevan ]
        Hide
        Joe Bohn added a comment -

        Is there any remaining work for this or can we mark this as complete and delivered in 2.1.2 now?

        Show
        Joe Bohn added a comment - Is there any remaining work for this or can we mark this as complete and delivered in 2.1.2 now?
        Hide
        Kevan Miller added a comment -

        We'll shortcut to the primordial classloader only if processing a java.* or data primitive class. Otherwise, we'll follow the normal parent ClassLoading order.

        The checking for data primitive classes needs to be tweaked a bit, but will handle with a separate Jira.

        Show
        Kevan Miller added a comment - We'll shortcut to the primordial classloader only if processing a java.* or data primitive class. Otherwise, we'll follow the normal parent ClassLoading order. The checking for data primitive classes needs to be tweaked a bit, but will handle with a separate Jira.
        Kevan Miller made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development