-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
I don't know where ClassHierarchyComparator is used but I believe the implementation will not sort correctly (using Collections.sort(List, Comparator)) when the list contains classes that do not all belSubFoo,SubBaz,Foo,Baz,Bar,ong to the same hierarchy path.
I believe the last line should be something like:
return c1.getName().compareTo(c2.getName()); //sort consistently
instead of
return 0;
- relates to
-
WELD-1006 Random AbstractMethodError exception when invoking a proxy method
- Resolved