Svatopluk Dedic created NETBEANS-90:
---------------------------------------
Summary: URL generated by MemoryFileSystem invoke DNS resolution
in their equals/hashCode
Key: NETBEANS-90
URL: https://issues.apache.org/jira/browse/NETBEANS-90
Project: NetBeans
Issue Type: Bug
Components: platform - Filesystems
Affects Versions: 8.2
Reporter: Svatopluk Dedic
Assignee: Svatopluk Dedic
FileObjects created from MemoryFileSystem use URL format like
memory://fs<number>/<path-to-file>. If such URL is added to a map or
collection, the default URL.equals attempts to resolve the host path
("fs<number>") which is slow (and fails anyway).
MemoryFileSystem creates an URLStreamHandler, but does not override
hashCode/equals for URLs.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)