Laszlo Kishalmi created NETBEANS-4895:
-----------------------------------------
Summary: FileUtil.isArchiveFile(URL) return true too easy on non
existing file URL-s
Key: NETBEANS-4895
URL: https://issues.apache.org/jira/browse/NETBEANS-4895
Project: NetBeans
Issue Type: Bug
Components: platform - Filesystems
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists