[ 
https://issues.apache.org/jira/browse/TIKA-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302611#comment-15302611
 ] 

Lewis John McGibbney commented on TIKA-1978:
--------------------------------------------

[~talli...@mitre.org] please see https://github.com/apache/tika/pull/124

> 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: 2.0, 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)

Reply via email to