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

Regression: Parsing of FTP URL's broken in the JDK1.2Beta3-G build.

XMLWordPrintable

    • 1.2beta3
    • sparc
    • solaris_2.6
    • Not verified

      Parsing of FTP URL's is broken in the JDK1.2Beta3-G build. When running my (java.net) "TestParseURL" URL test on the latest build of JDK1.2Beta3-G I get the following errors listed below:

      The program FAILS on Win32, Solaris 2.5.1 and Solaris 2.6.

      This is a regression. This test passed on the previous builds of JDK1.2Beta3-F, JDK1.2Beta3-E, JDK1.2Beta3-D, ...

      % java TestParseURL

      Success for: jar:http://www.foo.com/dir1/jar.jar!/dir2/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/
      Success for: jar:http://www.foo.com/dir1/jar.jar!/
      Success for: jar:http://www.foo.com/dir1/jar.jar!/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/dir1/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/dir1/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/dir1/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/dir1/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/dir1/foo/entry.txt
      Success for: jar:http://www.foo.com/dir1/jar.jar!/dir1/foo/entry.txt
      Success for: mailto:alan.frechette@East
      Success for: mailto:alan.frechette@East
      Success for: mailto:benjamin.renaud@Eng
      Error for:
      URL:ftp://jse.east/pub/release/myfile1.tar.Z
      spec: myfile1.tar.Z
      expected: ftp://jse.east/pub/release/myfile1.tar.Z
      actual: ftp://file1.tar.Z
      Success for: ftp://jse.east/pub/release/myfile1.tar.Z
      Error for:
      URL:ftp://jse.east/pub/release/
      spec: myfile1.tar.Z
      expected: ftp://jse.east/pub/release/myfile1.tar.Z
      actual: ftp://file1.tar.Z
      Error for:
      URL:ftp://jse.east/pub/release/myfile1.tar.Z
      spec: myfile2.tar.Z
      expected: ftp://jse.east/pub/release/myfile2.tar.Z
      actual: ftp://file2.tar.Z
      Error for:
      URL:ftp://jse.east/pub/
      spec: release/myfile1.tar.Z
      expected: ftp://jse.east/pub/release/myfile1.tar.Z
      actual: ftp://lease/myfile1.tar.Z
      Error for:
      URL:ftp://jse.east/pub/
      spec: /release/myfile2.tar.Z
      expected: ftp://jse.east/release/myfile2.tar.Z
      actual: ftp://elease/myfile2.tar.Z
      Error for:
      URL:ftp://jse.east/
      spec: /release/myfile2.tar.Z
      expected: ftp://jse.east/release/myfile2.tar.Z
      actual: ftp://elease/myfile2.tar.Z
      Success for: gopher://gopher.tc.umn.edu:70/11/Information%20Servers
      Success for: gopher://gopher.tc.umn.edu:70/11/Information%20Servers/all
      Success for: gopher://gopher.tc.umn.edu:70/11/Information%20Servers/all
      FINALSTATUS:TestParseURL:EXIT_FAIL:1:Number of FAILURES:6:TEST FAILED

            brenaudsunw Benjamin Renaud (Inactive)
            aefreche Alan Frechette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: