[
https://issues.apache.org/jira/browse/TIKA-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15292295#comment-15292295
]
Lewis John McGibbney commented on TIKA-1978:
--------------------------------------------
https://github.com/apache/tika/blob/master/tika-parsers/src/main/java/org/apache/tika/parser/geo/topic/GeoParser.java#L69
> Invocation of java.net.URL.equals(Object), which blocks to do domain name
> resolution, in org.apache.tika.parser.geo.topic.GeoParser.initialize(URL)
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TIKA-1978
> URL: https://issues.apache.org/jira/browse/TIKA-1978
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.13
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Critical
> Fix For: 1.14
>
>
> Performance - The equals and hashCode methods of URL are blocking
> The equals and hashCode method of URL perform domain name resolution, this
> can result in a big performance hit. See
> http://michaelscharf.blogspot.com/2006/11/javaneturlequals-and-hashcode-make.html
> for more information. Consider using java.net.URI instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)