Skip to content

Commit

Permalink
Fixed test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Apr 5, 2014
1 parent 9f0c816 commit b5d687e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ public <T> Set<ExportedInstance<T>> getExportedInstances(Class<T> clazz)
result.add(new SimpleExportedInstanceImpl<>(furnace, addon, (Class<T>) type));
}
}

if (ClassLoaders.ownsClass(addon.getClassLoader(), clazz) && isExtensionPointType(clazz))
{
result.add(new SimpleExportedInstanceImpl<>(furnace, addon, clazz));
}
instancesCache.put(clazz.getName(), (Set) result);
}
return result;
Expand Down

0 comments on commit b5d687e

Please sign in to comment.