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

jar tool aborts during indexing if a Class-Path entry does not exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • v3.1
    • tools
    • None
    • jar
    • x86
    • windows_xp

      The jar utility fails during an indexing attempt if a JAR's Class-Path contains a non-existent file.

      I don't think that the JAR file spec says one way or the other whether the Class-Path entries must exist or not. Certainly URLClassLoader tolerates entries which point to missing JARs or directories.

      It seems that the indexer should tolerate missing JARs as well, perhaps logging warnings for missing ones?

            sherman Xueming Shen
            tjquinn Tim Quinn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: