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

duplicate class names in regression tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.2
    • 1.4.0
    • core-libs
    • None
    • mantis
    • unknown
    • generic

      As a result of bug 4734534, I checked all networking regression tests
      for duplicate class names in the same directory. There a two duplicated
      classes in test/java/net/URLConnection (Server and XServer) which are
      defined in:
      HttpContinueStackOverflow.java
      ResendPostBody.java
      TimeoutTest.java
      ZeroContentLength.java
      SetIfModifiedSince.java
      URLConnectionHeaders.java

      As noted in the other report jtreg does not report this problem, but it may
      cause the wrong class to be run in the wrong test.

      Solution is to change the auxiliary classes to inner classes.

            michaelm Michael McMahon
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: