<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>683</bug_id>
          
          <creation_ts>2013-02-06 23:21:35 +0100</creation_ts>
          <short_desc>Fix URL Usage due to DNS Lookups on equals(..) and hashCode()</short_desc>
          <delta_ts>2013-10-11 20:05:20 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>757</dependson>
    
    <dependson>820</dependson>
    
    <dependson>857</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
    
    <cc>harvey.harrison</cc>
    
    <cc>xerxes</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>gluegen b98825eb7cfb61aead4a7dff57471cd2d2c26823
gluegen 377d9de1ff1e2fabcd9bb7f65c0318f3c890392c</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2156</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-02-06 23:21:35 +0100</bug_when>
    <thetext>(Thx to Harvey Harrison who pointed this out.)

http://findbugs.sourceforge.net/bugDescriptions.html#DMI_BLOCKING_METHODS_ON_URL

Dm: The equals and hashCode methods of URL are blocking (DMI_BLOCKING_METHODS_ON_URL)

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2483</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-04-16 10:30:20 +0200</bug_when>
    <thetext>In which classes do we use URLs except TextureIO &amp; AWTTextureIO?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2643</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-06-09 08:57:15 +0200</bug_when>
    <thetext>GlueGen: IOUtil, JarUtil, TempJarCache, .. uses URI instead of URL to remove DNS Lookups etc .

I have not seen further URL usage w/ equals/hash, 
which could trigger a DNS lookup.

If anybody finds those .. pls reopen and report.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>