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

ZipException thrown when empty jar file in classpath

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 7
    • 1.4.2, 5.0
    • tools
    • x86
    • windows_xp


      ###@###.### 2003-12-19

      J2SE Version (please include all output from java -version flag):
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b30)
        Java HotSpot(TM) Client VM (build 1.5.0-beta-b30, mixed mode)

      Does this problem occur on J2SE 1.4 or 1.4.1 or 1.4.2?
        No

      Operating System Configuration Information (be specific):
       MS Windows XP Professional, Version 2002, SP1

      Hardware Configuration Information (be specific):
       AMD Athlon XP 2400+, 2.0 GHz, 992 MB RAM

      Bug Description:
        An empty jar archive in the classpath throws the following exception
        during compilation:

        [javac] error: error reading
        E:\Cc\Users\imp\cirdan\acorn\lib\tammi-acorn-2.0.jar;
        java.util.zip.ZipException: error in opening zip file
       
      Steps to Reproduce (be specific):
        Create an empty .jar file without any files, add it to the classpath and
        try to compile something.

            jjg Jonathan Gibbons
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: