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

javac handles missing entries on classpath badly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • tools
    • None
    • b31
    • generic
    • generic
    • Verified

        In DefaultFileManager, getFileForInput assumes that if a path entry is not a directory, it must be an archive. This applies even if it does not exist.

        Separately, openArchive assumes FileNotFoundException will be thrown if the archive is missing. This may be true on some systems, but is not required to be true. For example, on Ubuntu linux, you get java.io.IOException if a file is not found. This causes a spurious diagnostic to be generated.

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: