TheTree2015/reflections

ClasspathHelper.forPackage(pkg) introduces a potential performance issue

Closed this issue · 1 comments

ClasspathHelper.forPackage(pkg) returns a Set of URL's which may lead to 
performance issues. It seems that a Set of URI's would be a better fit since 
it's not sharing the same poor implementation of hashCode() and equals() (see 
http://michaelscharf.blogspot.com/2006/11/javaneturlequals-and-hashcode-make.htm
l for more dtails on that).

Original issue reported on code.google.com by jestem.w...@gmail.com on 31 Jul 2013 at 1:46

now using ClasspathHelper.distinctUrls to convert URLs list to set

Original comment by ronm...@gmail.com on 21 Dec 2013 at 9:34

  • Changed state: Fixed