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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 5.0u5
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: