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

Zip error from javac when classpath includes the name of a plain (non-class) file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0u5
    • tools
    • other
    • windows_xp

      OPERATING SYSTEM(S)
      Windows XP
      FULL JDK VERSION(S):
      java version "1.5.0_05"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)
      DESCRIPTION:
      Create an empty file called "test"
      Create a file called myCode.java containing:
          public class myCode
          {
          }
      Run "javac -cp .;test myCode.java"
      error: error reading test; error in opening zip file
      1 error

            Unassigned Unassigned
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: