You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <de...@geronimo.apache.org> on 2006/05/03 15:35:30 UTC

[jira] Created: (GERONIMO-1973) javamail Session class using wrong classloader search sequence for resolving providers.

javamail Session class using wrong classloader search sequence for resolving providers.
---------------------------------------------------------------------------------------

         Key: GERONIMO-1973
         URL: http://issues.apache.org/jira/browse/GERONIMO-1973
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
    Versions: 1.1    
    Reporter: Rick McGuire
 Assigned to: Rick McGuire 
    Priority: Minor
     Fix For: 1.1


The javamail Session class Geronimo implementation is not using the same class loader resolution path employed by the Sun implementation for resolving provider definition property files.  The Geronimo version uses 

1)  thread context loader
2)  loader used to load the javax.mailSession class.

The Sun impl uses 

1)  thread context loader
2)  loader used to load the session Authenticator object (if it exists)
3)  The loader used to load the Session instance (which might not be the same as the loader used to load Session if this is a subclass). 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (GERONIMO-1973) javamail Session class using wrong classloader search sequence for resolving providers.

Posted by "Rick McGuire (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1973?page=all ]
     
Rick McGuire resolved GERONIMO-1973:
------------------------------------

    Resolution: Fixed

Committed revision 399294

geronimo-spec-javamail/src/main/java/javax/mail/Session.java

> javamail Session class using wrong classloader search sequence for resolving providers.
> ---------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1973
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1973
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>     Versions: 1.1
>     Reporter: Rick McGuire
>     Assignee: Rick McGuire
>     Priority: Minor
>      Fix For: 1.1

>
> The javamail Session class Geronimo implementation is not using the same class loader resolution path employed by the Sun implementation for resolving provider definition property files.  The Geronimo version uses 
> 1)  thread context loader
> 2)  loader used to load the javax.mailSession class.
> The Sun impl uses 
> 1)  thread context loader
> 2)  loader used to load the session Authenticator object (if it exists)
> 3)  The loader used to load the Session instance (which might not be the same as the loader used to load Session if this is a subclass). 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira