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

TEST_BUG: regression test Modified.java makes incorrect assumptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • core-libs
    • beta
    • x86
    • linux

          Test sun/net/www/protocol/httpsun/net/www/protocol/http/Modified.java
      from regression testsuite checks whether HttpURLConnection correctly
      implements If-Modified-Since requests to http servers. In order to
      do this test makes such request to some www server and checks
      response status code. If code is 304 then test pases.
      But according to HTTP specifications (rfc2616) www server
      does not have to respond with code 304 even if the requested
      resource was not modified since requested date. Therefore
      test may incorrectly fail if www server gives response other than 304.
          Such failure is observed on Linux platform RedHat 6.1 with
      Apache www server software.

            alanb Alan Bateman
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: