Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-615

RMIClassLoaderSpiImpl.normalizeCodebase(..) generates MalformedURLExceptions unnecessarily

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.1
    • core
    • None

    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.

      Attachments

        Activity

          People

            johnrsisson John Sisson
            johnrsisson John Sisson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: