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

HttpReceiveSocket not compatible with Netscape's URLConnection behavior

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1beta3
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description

      Using the RMI Extension for Netscape Navigator 3.0.1 behind a firewall does
      not interoperate with an RMI server on JDK 1.1 beta2 because the JDK 1.1
      version will return HTTP reponses with empty content length, Netscape throws
      an IOException ("Document contains no data") in this case, and the RMI runtime
      on the browser considers this a failure. (On the JDK, the read() call simply
      returns a -1; there is no IOException thrown.)

      Since Netscape's URLInputStream.read() throws an IOException where it seems
      like it should return -1, it would seem like their implementation is not
      conformant.

        Attachments

          Activity

            People

            Assignee:
            peterjones Peter Jones
            Reporter:
            peterjones Peter Jones
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: