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

Kestrel Fcs: ZipException is "mojibake"(scribbled) on ja locale.

    Details

    • Subcomponent:
    • Resolved In Build:
      rc2
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description


      On ja locale/ with Kestrel Fcs

      If a file name which does not exist is specified for the argument of "java -jar",
      java.util.zip.ZipException occurs and the message is "mojibake"
      on both of Solaris and Windows.


      >java -jar NotExistJar.jar
      Exception in thread "main" java.util.zip.ZipException: ***"mojibake" message is
      outputed here***

              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:110)
              at java.util.jar.JarFile.<init>(JarFile.java:115)
              at java.util.jar.JarFile.<init>(JarFile.java:57)

      ***The "mojibake" message may cause a trouble in the mail from bugtraq,
      therefore it is not pasted in this description***


      but on C locale
      >env LANG=C java -jar NotExistJar.jar
      Exception in thread "main" java.util.zip.ZipException: No such file or directory
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:110)
              at java.util.jar.JarFile.<init>(JarFile.java:115)
              at java.util.jar.JarFile.<init>(JarFile.java:57)


      To reproduce,
      Please specify a file name which does not exist for the argument of "java -jar"
      as above on locale JA.



      This phenomenon seems to be lelated to 4233799's fix.
      (It is caused by 4232922)
      With 1.2, cricket, kestrel-beta on both of C and JA locale, the result is;
      Exception in thread "main" java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)

      (------>this message could be outputted by 4232922's fix)


      In the build after kestrel EA Candidate, it is confirmed on C locale that
      the message is changed to "No such file or directory",
      which seemed to be 4233799's fix, from
      "error in opening zip file" and this "mojibake" problem on JA locale is seen.
      It is also seen with latest promoted build fcs_T.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zlisunw Zhenghua Li (Inactive)
                Reporter:
                mmtokunasunw Mtokunaga Mtokunaga (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: