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

java.rmi.Naming parses URLs improperly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 1.2.0
    • 1.2.0
    • core-libs
    • 1.2beta4
    • sparc
    • solaris_2.5
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: