Bug 226929

Summary: CacheManager uses URL.hashCode()
Product: [Eclipse Project] Equinox Reporter: Simon Kaegi <simon_kaegi>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: performance
Version: 3.4   
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Simon Kaegi CLA 2008-04-14 09:43:50 EDT
URL.hashCode() is a blocking call that does work similar work to equals(). I noticed this when running tests on a slow connection where I saw a DNS lookup on the stack. We should probably look at using URL.toExternalform().hashCode() instead.
Comment 1 John Arthorne CLA 2008-04-14 10:07:08 EDT
Fixed.