Uploaded image for project: 'River (Retired)'
  1. River (Retired)
  2. RIVER-9

PreferredClassLoader should try to avoid making a direct check against the first URL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • jtsk_2.1
    • River_2.1.2
    • net_jini_loader
    • None

    Description

      net.jini.loader.pref.PreferredClassLoader currently performs a direct check against the first URL to see whether the there is a PREFERRED.LIST. The reasons for this direct request instead of attempting to access through a "jar:" URL is because the "jar:" protocol handler can mask between definite lack of existence and less definitive errors.

      The side effect of the current approach is explained in this posting. An improvement that would not result in bypassing a JAR file cache in case the first JAR file is locally available is given in this posting.

      Attachments

        1. RIVER-9.patch
          3 kB
          Mark Brouwer

        Activity

          People

            marbro Mark Brouwer
            marbro Mark Brouwer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: