java.rmi.Naming parses URLs improperly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P1
    • 1.2.0
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • 1.2beta4
    • sparc
    • solaris_2.5
    • Not verified

      Since the parsing of file: URLs has changed in the JDK1.2Beta4_D build,
      names passed to the java.rmi.Naming. methods are not parsed properly and
      will mess up the host name (if in the URL) and use the default registry port for
      binding or looking up the object.

      The original code relied on the fact that a file: URL retained its host
      and port. This is no longer the case. The port in a file: URL will always
      be -1.

            Assignee:
            Ann Wollrath (Inactive)
            Reporter:
            Ann Wollrath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: