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

TEST_BUG: java/net/URL/runconstructor.sh script is incorrect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 5.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_8, windows_2000
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 01/31/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b14
      Testbase : RegTest-test
      Falling tests : java/net/URL/runconstructor.sh

      Here is the code fragment from java/net/URL/runconstructor.sh script:
      ...
      020> ${TESTJAVA}${FS}bin${FS}javac -d . ${TESTSRC}${FS}Constructor.java
      021>
      022> ${TESTJAVA}${FS}bin${FS}java Constructor ${TESTSRC}${FS}share_file_urls
      023> ${TESTJAVA}${FS}bin${FS}java Constructor ${TESTSRC}${FS}jar_urls
      024> ${TESTJAVA}${FS}bin${FS}java Constructor ${TESTSRC}${FS}normal_http_urls
      025> ${TESTJAVA}${FS}bin${FS}java Constructor ${TESTSRC}${FS}ftp_urls
      026> ${TESTJAVA}${FS}bin${FS}java Constructor ${TESTSRC}${FS}abnormal_http_urls
      <EOF>
      ...

      The script tests URL parser for the URLs from share_file_urls, jar_urls,
      normal_http_urls, ftp_urls, abnormal_http_urls files. The script returns line 26
      exit code. So the script always reports "PASSED" if it passed for
      abnormal_http_urls when running with Javatest, even really it was failed for
      share_file_urls, jar_urls, normal_http_urls or ftp_urls.

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

        Attachments

          Activity

            People

            • Assignee:
              michaelm Michael McMahon
              Reporter:
              irasunw Ira Ira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: