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

Jar.exe no longer supports UNC paths with "-C" option

XMLWordPrintable

    • jar
    • x86
    • windows_vista

      FULL PRODUCT VERSION :
      java version "1.6.0_30"
      Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
      Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)

      or

      java version "1.7.0_01"
      Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
      Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.0.6002]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      The relevant classes are in the network

      A DESCRIPTION OF THE PROBLEM :
      Until version 1.6._05 it was possible use the UNC paths for C parameter, if jar.exe was with the options-cfmv called.
      Currently it is not possible (with 1.7.0_01 or 1.6.0_30 tested )
      It appears the error message "File or directory does not exist." This is a "/" less is shown in path

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Store the class files in the network
      2. UNC paths notice
      3. Manifest file get
      The jar tool called with UNC path

      An call example:
      jar -cfmv \\fs06\releases\T00PA-test\test-2010-04-20.jar C:\1\se-manifest6092122578565208959.mf -C \\fs06\releases\V5\AD00\sem\classes com\cisag\pgm -C \\fs06\releases\V5\AD00\sem\classes com\cisag\sys

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      All class files amd manifest are in jar file
      ACTUAL -
      Error message, No class files in jar file

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
       "File or directory does not exist."

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      No source code. Tool call (jar.exe)
      ---------- END SOURCE ----------

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: