Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4895

FileUtil.isArchiveFile(URL) return true too easy on non existing file URL-s

    XMLWordPrintableJSON

Details

    Description

      The current requirement for detecting a non existing file URL, to have a dot in the "filename" part regardless of extension. With modular projects such url-s would become more popular, like "javafx.base" would be a part of a non existent class directory. Detecting these non existent directories as jar files could fool the SourceForBinary Queries.

      Proposed solution: Try to use the extension part of the supposed to be filename to decide if it is an archive or not.

      Attachments

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              lkishalmi Laszlo Kishalmi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m