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

Duplicate class name in 2 regression tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.2
    • 1.4.1
    • core-libs
    • mantis
    • x86
    • linux
    • Verified



      Name: aaR10208 Date: 08/21/2002


      Filed By : J2SE-SQA [###@###.###
      JDK/JRE : jdk1.4.1-rc-b19
      Testbase : Hopper-regression
      Failing Test :
                       sun/net/www/http/KeepAliveStream/KeepAliveStreamClose.java
                       sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java

      These 2 tests contain class XServer (this is a fully qualified name).
      When compiled, the .class files are placed in the same directory, so the XServer.class
      from one of these tests can overwrite XServer.class from the other test.

      As result, this can lead a mistake because the test could be run with a wrong XServer
      class if regression testbase is running 2 or more times.

      Test source location:
      =====================
      sun/net/www/http/KeepAliveStream/KeepAliveStreamClose.java
      sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java


      Specific Machine Info:
      ======================
      Hostname: linux-12
      Os: RH Linux 7.2

      ======================================================================

            michaelm Michael McMahon
            sundrsunw Sundr Sundr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: