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

spec does not say what Naming should do with empty names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • core-libs
    • beta
    • generic
    • generic

      The RMI spec does not say what Naming should do with empty names. First, it doesn't say that name is optional, which one might interpret to mean it can't be empty. Yet in the implementation, Naming.lookup has a magic unspecified special case of returning the registry if the name is empty. If an empty name is not allowed elsewhere, is MalformedURLException thrown or is the remote call actually made?

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: