geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu T George (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4082) <hidden-classes> ignored for certain classes that are loaded by system class loader
Date Tue, 27 May 2008 11:44:39 GMT
<hidden-classes> ignored for certain classes that are loaded by system class loader
-----------------------------------------------------------------------------------

                 Key: GERONIMO-4082
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4082
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: kernel
    Affects Versions: 2.1.1
         Environment: All
            Reporter: Manu T George
             Fix For: 2.2


 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message