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

jar -xvf option gives differnt error discription in Windows and Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.0
    • tools
    • jar
    • x86
    • solaris_2.5

      when -xvf command is used for a non existing file in windows and solaris , differnt error messages are given :

      C:\>jar -xvf NonExistingFile.jar

      In windows :
      java.io.FileNotFoundException: NonExistingFile.jar (The system cannot find the
      file specified)

      In Solaris :
      java.io.FileNotFoundException: NonExisting.jar (No such file or directory)

      As a result of this gold file comparison fails while executing the test in Tonga.

            kkladkosunw Konstantin Kladko (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: