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

LU should mention return values of methods must be non-null unless otherwise noted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • jtsk_2.1
    • None
    • net_jini_core
    • None
    • 6308861

    Description

      Bugtraq ID 6308861
      Currently, the Lookup Service Specification in LU 2.5 explicitly prohibits a null return value from the two-parameter lookup() method in ServiceRegistrar. This is the only place where language prohibits returning a null value from a method. From the context, it can be inferred that this was done to distinguish this method from the single-parameter lookup(), which may return null. That said, it might be useful to make a general statement that, unless otherwise noted, return values of the methods declared in this spec may not be null to avoid a different interpretation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rjmann Ronald Mann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: