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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
      jar
    • CPU:
      x86
    • OS:
      solaris_2.5

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: