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

HttpReceiveSocket not compatible with Netscape's URLConnection behavior

XMLWordPrintable

    • 1.1beta3
    • sparc
    • solaris_2.5
    • Not verified

      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.

            peterjones Peter Jones (Inactive)
            peterjones Peter Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: