Skip to content

Commit

Permalink
Fixed hierarchy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jan 19, 2013
1 parent dc62ad9 commit 73bf51e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public static Class<?>[] getCompatibleClassHierarchy(ClassLoader loader, Class<?

if (ClassLoaders.containsClass(loader, baseClass)
&& !Object.class.equals(baseClass)
&& isInstantiable(baseClass))
&& (isInstantiable(baseClass) || baseClass.isInterface()))
{
hierarchy.add(ClassLoaders.loadClass(loader, baseClass));
}
Expand Down

0 comments on commit 73bf51e

Please sign in to comment.