Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4134593

java.rmi.Naming parses URLs improperly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2beta4
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: