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

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

    XMLWordPrintable

Details

    • tiger
    • x86, sparc
    • linux, solaris_8, windows_2000
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: