Description
ClassPathUtil.getCloverJarPath() searches for a JAR in case when URL returned by class loader is like:
jar:file:!/path/to/clover.jar/com/atlassian/clover/util/ClassPathUtil.class
or
file:/path/to/classes/directory/com/atlassian/clover/util/ClassPathUtil.class
However, it does not handle a case for OSGI bundles, which have an URI like:
bundle://28.0:2/com/atlassian/clover/util/ClassPathUtil.class
Fix: use getClass().getProtectionDomain().getCodeSource().getLocation().toURI()