You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "John Sisson (JIRA)" <de...@geronimo.apache.org> on 2005/03/24 08:20:21 UTC

[jira] Updated: (GERONIMO-615) RMIClassLoaderSpiImpl.normalizeCodebase(..) generates MalformedURLExceptions unnecessarily

     [ http://issues.apache.org/jira/browse/GERONIMO-615?page=history ]

John Sisson updated GERONIMO-615:
---------------------------------

    Attachment: RMIClassLoaderSpiImpl_patch.txt

Patch attached for review (see previous comments for details).

> RMIClassLoaderSpiImpl.normalizeCodebase(..) generates MalformedURLExceptions unnecessarily
> ------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-615
>          URL: http://issues.apache.org/jira/browse/GERONIMO-615
>      Project: Geronimo
>         Type: Bug
>     Reporter: John Sisson
>     Assignee: Gianny DAMOUR
>     Priority: Trivial
>  Attachments: RMIClassLoaderSpiImpl_patch.txt
>
> org.apache.geronimo.system.rmi.RMIClassLoaderSpiImpl.normalizeCodebase(..) unnecessarily causes MalformedURLExceptions to be generated and caught.
> The exceptions are due to the delimiter tokens (e.g. a space character) being passed to the URL constructor.  
> This occurs because "true" flag being passed on the call to the StringTokenizer constructor in the body of the normalizeCodebase method(..).
> In my debug session, in one invocation of normalizeCodebase(..), over 40 MalformedURLExceptions were generated.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira