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

Aaron Mulder updated GERONIMO-615:
----------------------------------

    Fix Version: 1.0-M5
    Description: 
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.

  was:
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.

    Environment: 

> 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: John Sisson
>     Priority: Trivial
>      Fix For: 1.0-M5
>  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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to